Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
7.0ms266×body80valid

simplify81.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: 20.7b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite60.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:
31.0ms
(* (+ t1 u) (+ t1 u))
26.0ms
(/ (* (- t1) v) (* (+ t1 u) (+ t1 u)))

series98.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0390509
12114426
25002422

prune129.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
68×times-frac
54×add-sqr-sqrt
46×associate-*l*
42×add-cube-cbrt
18×associate-*r*
17×distribute-lft-out
16×add-exp-log add-cbrt-cube
12×distribute-lft-neg-in distribute-rgt-neg-in
associate-/r/
cbrt-undiv div-exp
pow1 neg-mul-1 prod-exp associate-/r* cbrt-unprod unswap-sqr
flip3-+ flip-+ div-inv associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-out frac-times frac-2neg associate-*r/ distribute-frac-neg pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 126
Calls
2 calls:
10.0ms
(/ v (+ t1 u))
64.0ms
(* (/ (- t1) (+ t1 u)) (/ v (+ t1 u)))

series155.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0514876
12188803
25001803

prune246.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
79×*-un-lft-identity
66×times-frac
51×add-exp-log add-sqr-sqrt
49×associate-*l*
44×add-cube-cbrt
31×add-cbrt-cube
22×prod-exp
19×associate-*r*
17×distribute-lft-out
13×div-exp
12×distribute-lft-neg-in distribute-rgt-neg-in cbrt-unprod
11×pow1
cbrt-undiv
associate-/r/
associate-*r/
neg-mul-1 rec-exp 1-exp pow-prod-down associate-/r*
expm1-log1p-u flip3-+ un-div-inv flip-+ log1p-expm1-u div-inv associate-/l* add-log-exp unswap-sqr
frac-times *-commutative
distribute-lft-neg-out pow-flip frac-2neg distribute-frac-neg associate-*l/ clear-num inv-pow
Counts
3 → 163
Calls
3 calls:
11.0ms
(/ 1 (+ t1 u))
26.0ms
(* v (/ 1 (+ t1 u)))
67.0ms
(* (/ (- t1) (+ t1 u)) (* v (/ 1 (+ t1 u))))

series191.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ 1 (+ t1 u))
27.0ms
(* v (/ 1 (+ t1 u)))
125.0ms
(* (/ (- t1) (+ t1 u)) (* v (/ 1 (+ t1 u))))

simplify61.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05781013
12619857
25002822

prune273.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ v (+ t1 u))
0.3b
(/ (* (- t1) (/ v (+ t1 u))) (+ t1 u))
7.1b
(* (- t1) (/ v (+ t1 u)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
30×add-sqr-sqrt
29×times-frac
25×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×associate-*r*
10×associate-*l*
distribute-lft-out
associate-/r*
cbrt-undiv div-exp associate-/r/
pow1
prod-exp cbrt-unprod associate-/l*
distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in flip3-+ flip-+ log1p-expm1-u div-inv add-log-exp
distribute-lft-neg-out frac-2neg associate-*r/ clear-num unswap-sqr
neg-mul-1 distribute-frac-neg pow-prod-down *-commutative associate-/l/
Counts
3 → 113
Calls
3 calls:
10.0ms
(/ v (+ t1 u))
22.0ms
(/ (* (- t1) (/ v (+ t1 u))) (+ t1 u))
33.0ms
(* (- t1) (/ v (+ t1 u)))

series164.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ v (+ t1 u))
81.0ms
(/ (* (- t1) (/ v (+ t1 u))) (+ t1 u))
56.0ms
(* (- t1) (/ v (+ t1 u)))

simplify50.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0392679
12087600
25002600

prune220.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes109.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
0177
1217
2247
3307
4327
5327

end0.0ms

sample410.0ms

Algorithm
intervals
Results
199.0ms8246×body80valid