Details

Time bar (total: 2.4s)

sample16.0ms

Algorithm
intervals
Results
6.0ms275×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1254
2494
3784
41164
51414
61624
71754
81834
91874
101914
113024
123404
133664
144644
155334
166154
177214
188154
198244
208244

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt
70×*-un-lft-identity
51×times-frac
31×associate-*l*
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-*r* 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 pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 106
Calls
2 calls:
13.0ms
(/ (- x y) (- z y))
27.0ms
(* (/ (- x y) (- z y)) t)

series140.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0369669
11149628
24661627
35001627

prune222.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite70.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 associate-*r*
19×add-cbrt-cube
13×prod-exp
11×pow1
10×associate-*l/
distribute-lft-out-- difference-of-squares
cbrt-unprod
flip3-- div-exp associate-*l* flip--
associate-/r*
frac-times pow-prod-down associate-/r/
cbrt-undiv expm1-log1p-u rec-exp 1-exp log1p-expm1-u associate-/l* add-log-exp unswap-sqr
associate-*r/ un-div-inv *-commutative div-inv
pow-flip frac-2neg clear-num inv-pow
Counts
3 → 125
Calls
3 calls:
6.0ms
(/ 1 (- z y))
26.0ms
(* (- x y) (/ 1 (- z y)))
33.0ms
(* (* (- x y) (/ 1 (- z y))) t)

series183.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ 1 (- z y))
46.0ms
(* (- x y) (/ 1 (- z y)))
99.0ms
(* (* (- x y) (/ 1 (- z y))) t)

simplify49.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0402702
11906585
25003543

prune219.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.0ms

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

series93.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0301489
11365452
25001452

prune185.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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:
16.0ms
(* t (- x y))
15.0ms
(/ (* t (- x y)) (- z y))

series104.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0346543
11624380
25001380

prune119.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

regimes198.0ms

Accuracy

31.9% (1.7b remaining)

Error of 1.7b against oracle of 0.0b and baseline of 2.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02120
12120

end0.0ms

sample434.0ms

Algorithm
intervals
Results
215.0ms8777×body80valid