Details

Time bar (total: 3.2s)

sample30.0ms

Algorithm
intervals
Results
12.0ms319×body80valid

simplify75.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: 11.2b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series63.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0262303
11268253
25002253

prune97.0ms

Pruning

7 alts after pruning (6 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.4b
(/ x (/ z (+ (- y z) 1.0)))

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

series79.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04631195
121431142
250011140

prune255.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (/ z (+ (- y z) 1.0)))
0.0b
(log1p (expm1 (/ z (+ (- y z) 1.0))))
0.0b
(/ z (+ (- y z) 1.0))
4.4b
(/ x (log1p (expm1 (/ z (+ (- y z) 1.0)))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
24×times-frac
22×add-sqr-sqrt add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out
associate-/l*
log1p-expm1-u
pow1 expm1-log1p-u distribute-lft-out-- add-log-exp
cbrt-undiv frac-2neg div-exp clear-num associate-/r/ div-inv
log1p-udef expm1-log1p flip3-+ log1p-expm1 flip-+ expm1-udef
Counts
4 → 90
Calls
4 calls:
0.0ms
(expm1 (/ z (+ (- y z) 1.0)))
0.0ms
(log1p (expm1 (/ z (+ (- y z) 1.0))))
36.0ms
(/ z (+ (- y z) 1.0))
5.0ms
(/ x (log1p (expm1 (/ z (+ (- y z) 1.0)))))

series285.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(expm1 (/ z (+ (- y z) 1.0)))
81.0ms
(log1p (expm1 (/ z (+ (- y z) 1.0))))
40.0ms
(/ z (+ (- y z) 1.0))
85.0ms
(/ x (log1p (expm1 (/ z (+ (- y z) 1.0)))))

simplify41.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0320720
11092605
25001592

prune224.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

4.4b
(/ x (log1p (expm1 (* (* (cbrt (/ z (+ (- y z) 1.0))) (cbrt (/ z (+ (- y z) 1.0)))) (cbrt (/ z (+ (- y z) 1.0)))))))
4.7b
(cbrt (/ z (+ (- y z) 1.0)))
4.7b
(cbrt (/ z (+ (- y z) 1.0)))
4.7b
(cbrt (/ z (+ (- y z) 1.0)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
63×cbrt-prod
54×times-frac
39×add-sqr-sqrt add-cube-cbrt
18×distribute-lft-out
distribute-lft-out--
add-exp-log associate-/r/ add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u div-inv add-log-exp
cbrt-div flip3-+ pow1/3 associate-/r* flip-+ associate-/l*
cbrt-undiv frac-2neg div-exp clear-num
Counts
4 → 125
Calls
4 calls:
5.0ms
(/ x (log1p (expm1 (* (* (cbrt (/ z (+ (- y z) 1.0))) (cbrt (/ z (+ (- y z) 1.0)))) (cbrt (/ z (+ (- y z) 1.0)))))))
20.0ms
(cbrt (/ z (+ (- y z) 1.0)))
18.0ms
(cbrt (/ z (+ (- y z) 1.0)))
18.0ms
(cbrt (/ z (+ (- y z) 1.0)))

series447.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(/ x (log1p (expm1 (* (* (cbrt (/ z (+ (- y z) 1.0))) (cbrt (/ z (+ (- y z) 1.0)))) (cbrt (/ z (+ (- y z) 1.0)))))))
110.0ms
(cbrt (/ z (+ (- y z) 1.0)))
109.0ms
(cbrt (/ z (+ (- y z) 1.0)))
113.0ms
(cbrt (/ z (+ (- y z) 1.0)))

simplify126.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
03111751
19251542
241051362
350011304

prune370.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes110.0ms

Accuracy

81.2% (0.3b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02818
12818

end0.0ms

sample514.0ms

Algorithm
intervals
Results
237.0ms10103×body80valid