Details

Time bar (total: 2.8s)

sample23.0ms

Algorithm
intervals
Results
12.0ms280×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1294
2564
3864
41184
51454
61564
71664
81674
91714
101754
112864
123244
133504
144484
155174
165994
177054
187994
198084
208084

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.2b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- y z))
9.6b
(/ (* x (- y z)) (- t z))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in
add-exp-log add-cbrt-cube
times-frac associate-*r* associate-/r*
pow1 associate-*r/
flip3-- associate-*l* flip-- distribute-lft-out-- difference-of-squares
cbrt-undiv expm1-log1p-u sub-neg div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 77
Calls
2 calls:
12.0ms
(* x (- y z))
14.0ms
(/ (* x (- y z)) (- t z))

series100.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(* x (- y z))
63.0ms
(/ (* x (- y z)) (- t z))

simplify45.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0346543
11624380
25001380

prune131.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- t z))
2.4b
(* x (/ (- y z) (- t z)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt
70×*-un-lft-identity
51×times-frac
31×associate-*r*
26×add-cube-cbrt
22×distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 associate-/r/
flip3-- associate-*l* flip--
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 106
Calls
2 calls:
12.0ms
(/ (- y z) (- t z))
26.0ms
(* x (/ (- y z) (- t z)))

series111.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ (- y z) (- t z))
65.0ms
(* x (/ (- y z) (- t z)))

simplify41.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0356664
11414623
25001623

prune210.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- t z) (- y z))
2.5b
(/ x (/ (- t z) (- y z)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
194×add-sqr-sqrt *-un-lft-identity
90×add-cube-cbrt
52×distribute-lft-out-- difference-of-squares
36×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-- flip-- div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
div-sub
Counts
2 → 198
Calls
2 calls:
12.0ms
(/ (- t z) (- y z))
14.0ms
(/ x (/ (- t z) (- y z)))

series198.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(/ (- t z) (- y z))
148.0ms
(/ x (/ (- t z) (- y z)))

simplify75.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06421801
128871748
250011745

prune418.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
41×*-un-lft-identity
32×times-frac
31×add-exp-log
24×add-cube-cbrt
22×associate-*r*
19×add-cbrt-cube
13×prod-exp
11×pow1
associate-*r/ associate-*l* distribute-lft-out-- difference-of-squares
cbrt-unprod
flip3-- div-exp flip--
associate-/r*
frac-times pow-prod-down associate-*l/ associate-/r/
cbrt-undiv expm1-log1p-u rec-exp 1-exp log1p-expm1-u associate-/l* add-log-exp unswap-sqr
un-div-inv *-commutative div-inv
pow-flip frac-2neg clear-num inv-pow
Counts
3 → 125
Calls
3 calls:
5.0ms
(/ 1 (- t z))
23.0ms
(* (- y z) (/ 1 (- t z)))
24.0ms
(* x (* (- y z) (/ 1 (- t z))))

series151.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ 1 (- t z))
49.0ms
(* (- y z) (/ 1 (- t z)))
66.0ms
(* x (* (- y z) (/ 1 (- t z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0391700
11784591
25003549

prune220.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes100.0ms

Accuracy

1.5% (2.1b remaining)

Error of 2.1b against oracle of 0.0b and baseline of 2.2b

bsearch74.0ms

Steps
ItersRangePoint
10
6.626087541090577e-256
2.6728118310221924e-245
1.3063150334973689e-252
6
-2.120447146557075e-152
-2.3794058264177526e-153
-1.2013136257146687e-152

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03215
13615
23715
33715

end0.0ms

sample601.0ms

Algorithm
intervals
Results
381.0ms8757×body80valid