Details

Time bar (total: 8.4s)

sample44.0ms

Algorithm
intervals
Results
18.0ms333×body80valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2469
31199
44089
515199
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
10.5b
(/ (* x (+ (- y z) 1.0)) z)

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 51
Calls
2 calls:
102.0ms
(* x (+ (- y z) 1.0))
49.0ms
(/ (* x (+ (- y z) 1.0)) z)

series111.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(* x (+ (- y z) 1.0))
57.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify1.1s

Counts
57 → 57
Iterations

Useful iterations: done (1.1s)

IterNodesCost
098645
1280625
21311539
done5001531

prune138.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.5b
(/ x (/ z (+ (- y z) 1.0)))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
46.0ms
(/ z (+ (- y z) 1.0))
56.0ms
(/ x (/ z (+ (- y z) 1.0)))

series121.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(/ z (+ (- y z) 1.0))
63.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify1.1s

Counts
149 → 149
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02042436
15282285
225542180
done50002177

prune393.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
0.0b
(fma (/ x z) 1.0 (/ (* x y) z))
5.2b
(/ (* x y) z)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
12×add-cube-cbrt
prod-diff
add-exp-log add-cbrt-cube
add-log-exp
pow1 expm1-log1p-u times-frac fma-neg associate-/r* log1p-expm1-u
cbrt-undiv div-exp fma-udef
sub-neg flip3-- frac-2neg diff-log prod-exp associate--l+ clear-num flip-- cbrt-unprod div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 62
Calls
3 calls:
12.0ms
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
0.0ms
(fma (/ x z) 1.0 (/ (* x y) z))
11.0ms
(/ (* x y) z)

series134.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(- (fma (/ x z) 1.0 (/ (* x y) z)) x)
55.0ms
(fma (/ x z) 1.0 (/ (* x y) z))
23.0ms
(/ (* x y) z)

simplify746.0ms

Counts
71 → 71
Iterations

Useful iterations: done (744.0ms)

IterNodesCost
01141097
1258980
21173859
done5000782

prune220.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (/ x z) 1.0 (* x (/ y z)))
0.0b
(- (fma (/ x z) 1.0 (* x (/ y z))) x)
7.4b
(* x (/ y z))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt
13×associate-*r*
10×times-frac
prod-diff
add-exp-log add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u fma-neg associate-*l* log1p-expm1-u
prod-exp cbrt-unprod fma-udef unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log associate-*r/ div-exp pow-prod-down associate--l+ *-commutative flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 73
Calls
3 calls:
0.0ms
(fma (/ x z) 1.0 (* x (/ y z)))
20.0ms
(- (fma (/ x z) 1.0 (* x (/ y z))) x)
23.0ms
(* x (/ y z))

series185.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(fma (/ x z) 1.0 (* x (/ y z)))
65.0ms
(- (fma (/ x z) 1.0 (* x (/ y z))) x)
37.0ms
(* x (/ y z))

simplify771.0ms

Counts
82 → 82
Iterations

Useful iterations: done (768.0ms)

IterNodesCost
01321188
13141069
21098938
done5000861

prune237.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes107.0ms

Accuracy

95% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 3.2b

bsearch103.0ms

Steps
ItersRangePoint
10
3.702960000671357e-60
1.225889303318422e-48
4.003006293405847e-55
7
-216780227373.01285
-5850708151.804642
-20890976261.996433

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01944
12433
done2433

end0.0ms

sample841.0ms

Algorithm
intervals
Results
436.0ms10117×body80valid