Details

Time bar (total: 2.8s)

sample19.0ms

Algorithm
intervals
Results
10.0ms268×body80valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0256
1676
21456
32416
43016
53556
63966
74446
85296
97446
1022186
1150016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.3b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ t1 u) (+ t1 u))
18.0b
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
16×add-exp-log add-cbrt-cube
12×flip3-+ flip-+
pow1
add-sqr-sqrt frac-times associate-/r/
add-cube-cbrt swap-sqr distribute-lft-out
prod-exp cbrt-unprod
cbrt-undiv associate-*r/ div-exp associate-*r* associate-*l* associate-*l/
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out pow2 distribute-rgt-in frac-2neg distribute-lft-in times-frac pow-plus distribute-frac-neg pow-prod-down clear-num associate-/r* pow-sqr *-commutative pow-prod-up div-inv associate-/l* unswap-sqr
Counts
2 → 74
Calls
2 calls:
16.0ms
(* (+ t1 u) (+ t1 u))
9.0ms
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u)))

series88.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(* (+ t1 u) (+ t1 u))
73.0ms
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u)))

simplify61.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0390509
12114426
25002422

prune135.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- t1) (+ t1 u))
0.0b
(/ v (+ t1 u))
1.3b
(* (/ (- t1) (+ t1 u)) (/ v (+ t1 u)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
125×*-un-lft-identity
108×times-frac
81×add-sqr-sqrt
69×add-cube-cbrt
46×associate-*l*
28×distribute-lft-out
27×distribute-lft-neg-in distribute-rgt-neg-in
19×add-exp-log add-cbrt-cube
18×associate-*r*
13×associate-/l*
neg-mul-1
associate-/r* associate-/r/
cbrt-undiv div-exp
pow1
flip3-+ prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg distribute-frac-neg clear-num
distribute-lft-neg-out neg-sub0 frac-times div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 198
Calls
3 calls:
7.0ms
(/ (- t1) (+ t1 u))
5.0ms
(/ v (+ t1 u))
43.0ms
(* (/ (- t1) (+ t1 u)) (/ v (+ t1 u)))

series182.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (- t1) (+ t1 u))
26.0ms
(/ v (+ t1 u))
117.0ms
(* (/ (- t1) (+ t1 u)) (/ v (+ t1 u)))

simplify63.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06021313
127281228
250021224

prune386.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ t1 (+ t1 u))
0.0b
(/ v (+ t1 u))
1.3b
(* (- 0 (/ t1 (+ t1 u))) (/ v (+ t1 u)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
40×add-sqr-sqrt
38×times-frac
30×add-cube-cbrt
18×associate-*r*
12×add-exp-log add-cbrt-cube
11×distribute-lft-out
associate-/r*
associate-*l* associate-/r/ associate-/l*
pow1
cbrt-undiv expm1-log1p-u flip3-+ div-exp flip-+ log1p-expm1-u div-inv add-log-exp
frac-times flip3-- frac-2neg associate-*l/ prod-exp clear-num flip-- cbrt-unprod difference-of-squares unswap-sqr
distribute-lft-neg-out sub0-neg associate-*r/ pow-prod-down *-commutative distribute-lft-out--
Counts
3 → 117
Calls
3 calls:
5.0ms
(/ t1 (+ t1 u))
5.0ms
(/ v (+ t1 u))
60.0ms
(* (- 0 (/ t1 (+ t1 u))) (/ v (+ t1 u)))

series180.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ t1 (+ t1 u))
24.0ms
(/ v (+ t1 u))
119.0ms
(* (- 0 (/ t1 (+ t1 u))) (/ v (+ t1 u)))

simplify58.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0376712
11737658
25001656

prune255.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ t1 u))
0.0b
(/ v (+ t1 u))
0.2b
(* t1 (/ 1 (+ t1 u)))
1.3b
(* (- 0 (* t1 (/ 1 (+ t1 u)))) (/ v (+ t1 u)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
52×add-sqr-sqrt
51×times-frac
40×add-cube-cbrt
36×associate-*r*
24×add-exp-log
18×add-cbrt-cube
14×distribute-lft-out
pow1
associate-/r* associate-/r/
div-exp associate-*l* prod-exp associate-/l*
unswap-sqr
cbrt-undiv expm1-log1p-u flip3-+ cbrt-unprod flip-+ log1p-expm1-u div-inv add-log-exp
frac-times rec-exp flip3-- frac-2neg 1-exp associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip--
distribute-lft-neg-out pow-flip sub0-neg un-div-inv inv-pow
Counts
4 → 161
Calls
4 calls:
5.0ms
(/ 1 (+ t1 u))
5.0ms
(/ v (+ t1 u))
15.0ms
(* t1 (/ 1 (+ t1 u)))
19.0ms
(* (- 0 (* t1 (/ 1 (+ t1 u)))) (/ v (+ t1 u)))

series217.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1 (+ t1 u))
26.0ms
(/ v (+ t1 u))
39.0ms
(* t1 (/ 1 (+ t1 u)))
120.0ms
(* (- 0 (* t1 (/ 1 (+ t1 u)))) (/ v (+ t1 u)))

simplify84.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0471943
12458814
25001763

prune313.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes73.0ms

Accuracy

0% (1.3b remaining)

Error of 1.3b against oracle of 0.0b and baseline of 1.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1186
2206
3206

end0.0ms

sample391.0ms

Algorithm
intervals
Results
219.0ms8258×body80valid