Details

Time bar (total: 2.1s)

sample19.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.9b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite59.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:
40.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series75.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0262303
11268253
25002253

prune120.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite47.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:
17.0ms
(/ z (+ (- y z) 1.0))
22.0ms
(/ x (/ z (+ (- y z) 1.0)))

series97.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04631195
121431142
250011140

prune305.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite8.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:
3.0ms
(- (fma 1.0 (/ x z) (/ (* x y) z)) x)
0.0ms
(fma 1.0 (/ x z) (/ (* x y) z))
3.0ms
(/ (* x y) z)

series117.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0235493
11042390
25002384

prune162.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

10.1b
(* (/ x z) (+ (- y z) 1.0))

rewrite47.0ms

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

series43.0ms

Counts
1 → 3
Calls
1 calls:
43.0ms
(* (/ x z) (+ (- y z) 1.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0339277
11381249
25002243

prune94.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes90.0ms

Accuracy

90.2% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 3.5b

bsearch73.0ms

Steps
ItersRangePoint
6
4.189137080539493e-21
4.4235602145781016e-20
1.8053743254521745e-20
10
-5.752581232222619e+121
-2.045285355824158e+106
-1.4723758122722615e+110

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0249
1249

end0.0ms

sample476.0ms

Algorithm
intervals
Results
262.0ms10085×body80valid