Details

Time bar (total: 3.1s)

sample17.0ms

Algorithm
intervals
Results
7.0ms276×body80valid

simplify57.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: 2.6b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.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:
8.0ms
(/ (- x y) (- z y))
12.0ms
(* (/ (- x y) (- z y)) t)

series146.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0369669
11149628
24661627
35001627

prune219.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.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:
5.0ms
(/ 1 (- z y))
18.0ms
(* (- x y) (/ 1 (- z y)))
13.0ms
(* (* (- x y) (/ 1 (- z y))) t)

series180.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0402702
11906585
25003543

prune225.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- z y) (- x y))
0.3b
(/ 1 (/ (- z y) (- x y)))
2.6b
(* (/ 1 (/ (- z y) (- x y))) t)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
392×times-frac
335×add-sqr-sqrt
323×*-un-lft-identity
157×add-cube-cbrt
98×associate-*l*
82×distribute-lft-out-- difference-of-squares
36×associate-/r*
35×add-exp-log
19×add-cbrt-cube
18×associate-/r/
15×div-exp
10×div-inv
flip3-- flip--
associate-/l*
cbrt-undiv prod-exp
pow1
unswap-sqr
rec-exp 1-exp
expm1-log1p-u associate-*r* cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
pow-flip div-sub pow-prod-down associate-*l/ *-commutative inv-pow
Counts
3 → 332
Calls
3 calls:
8.0ms
(/ (- z y) (- x y))
12.0ms
(/ 1 (/ (- z y) (- x y)))
28.0ms
(* (/ 1 (/ (- z y) (- x y))) t)

series329.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
341 → 341
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
08852703
142142416
250012191

prune547.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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))
12.0ms
(* (- x y) (/ t (- z y)))

series93.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0301489
11365452
25001452

prune186.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes145.0ms

Accuracy

60% (0.8b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02425
12717
23017
33017

end0.0ms

sample433.0ms

Algorithm
intervals
Results
226.0ms8733×body80valid