Details

Time bar (total: 2.2s)

sample21.0ms

Algorithm
intervals
Results
10.0ms315×body80valid

simplify84.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: 10.4b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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:
9.0ms
(* x (+ (- y z) 1.0))
10.0ms
(/ (* x (+ (- y z) 1.0)) z)

series81.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0262303
11268253
25002253

prune121.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.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:
8.0ms
(/ z (+ (- y z) 1.0))
12.0ms
(/ x (/ z (+ (- y z) 1.0)))

series97.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04631195
121431142
250011140

prune293.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ (- y z) 1.0))
0.2b
(* z (/ 1 (+ (- y z) 1.0)))
2.4b
(/ x (* z (/ 1 (+ (- y z) 1.0))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
35×times-frac
32×add-sqr-sqrt
31×add-exp-log
25×add-cube-cbrt
21×associate-*r*
19×add-cbrt-cube
14×distribute-lft-out
11×div-exp
prod-exp
distribute-lft-out--
pow1 cbrt-undiv associate-/r* associate-/r/ associate-/l*
cbrt-unprod
expm1-log1p-u rec-exp 1-exp associate-*l* log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg flip3-+ associate-*r/ clear-num un-div-inv flip-+
pow-flip pow-prod-down *-commutative inv-pow
Counts
3 → 118
Calls
3 calls:
8.0ms
(/ 1 (+ (- y z) 1.0))
13.0ms
(* z (/ 1 (+ (- y z) 1.0)))
13.0ms
(/ x (* z (/ 1 (+ (- y z) 1.0))))

series140.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ 1 (+ (- y z) 1.0))
48.0ms
(* z (/ 1 (+ (- y z) 1.0)))
50.0ms
(/ x (* z (/ 1 (+ (- y z) 1.0))))

simplify58.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0386715
11770598
25002543

prune225.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- fma-neg diff-log flip-- fma-udef
Counts
2 → 28
Calls
2 calls:
9.0ms
(- (* 1.0 (/ x z)) x)
1.0ms
(fma (/ y z) x (- (* 1.0 (/ x z)) x))

series62.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(- (* 1.0 (/ x z)) x)
29.0ms
(fma (/ y z) x (- (* 1.0 (/ x z)) x))

simplify93.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0140206
1530171
22949167
35001160

prune80.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes75.0ms

Accuracy

95.9% (0.1b remaining)

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

bsearch51.0ms

Steps
ItersRangePoint
6
2.5947478503916157e-23
1.6421795748574927e-22
3.9888923668282164e-23
5
-4.5891612855520365e-70
-1.757917277091264e-70
-4.403013908836691e-70

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0249
1249

end0.0ms

sample478.0ms

Algorithm
intervals
Results
261.0ms10167×body80valid