Details

Time bar (total: 2.3s)

sample22.0ms

Algorithm
intervals
Results
12.0ms315×body80valid

simplify71.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.2b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series69.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0262303
11268253
25002253

prune107.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite46.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)))

series92.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04631195
121431142
250011140

prune263.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ (- y z) 1.0))
0.1b
(* z (/ 1 (+ (- y z) 1.0)))
1.8b
(/ x (* z (/ 1 (+ (- y z) 1.0))))

rewrite79.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:
20.0ms
(/ 1 (+ (- y z) 1.0))
41.0ms
(* z (/ 1 (+ (- y z) 1.0)))
13.0ms
(/ x (* z (/ 1 (+ (- y z) 1.0))))

series125.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0386715
11770598
25002543

prune182.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series59.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0140206
1530171
22949167
35001160

prune70.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes104.0ms

Accuracy

95.3% (0.2b remaining)

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

bsearch86.0ms

Steps
ItersRangePoint
9
4.722547691935533e-63
1.9861003953087476e-53
3.3295052296768e-56
8
-1.4561406894344986e-33
-2.9592839825161226e-36
-5.1577994392082344e-34

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02710
12710

end0.0ms

sample617.0ms

Algorithm
intervals
Results
399.0ms10242×body80valid