Details

Time bar (total: 4.3s)

sample318.0ms

Algorithm
intervals
Results
10.0ms408×body80valid
5.0ms408×pre80true

simplify126.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1345
2725
31885
44065
56365
69385
713125
819695
929325
1039125
1150015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize33.0ms

Local error

Found 3 expressions with local error:

0.0b
(* m (- 1.0 m))
0.1b
(/ (* m (- 1.0 m)) v)
0.2b
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff
12×add-exp-log add-cbrt-cube
11×distribute-rgt-in distribute-lft-in
associate-*r* associate-*l*
pow1
associate-*r/
expm1-log1p-u flip3-- times-frac prod-exp associate-/r* flip-- cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv sub-neg div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
frac-2neg clear-num div-inv associate-/l*
Counts
3 → 95
Calls
3 calls:
24.0ms
(* m (- 1.0 m))
21.0ms
(/ (* m (- 1.0 m)) v)
88.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series134.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(* m (- 1.0 m))
42.0ms
(/ (* m (- 1.0 m)) v)
46.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

simplify57.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0394683
11939511
25001505

prune160.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* m (- 1.0 m))
0.1b
(/ v (* m (- 1.0 m)))
0.2b
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) m)
0.2b
(/ 1 (/ v (* m (- 1.0 m))))

rewrite259.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
46×*-un-lft-identity
44×times-frac
40×add-cube-cbrt
34×add-exp-log
22×add-cbrt-cube
18×prod-diff
14×div-exp
12×associate-*r/
11×distribute-rgt-in distribute-lft-in associate-*l* associate-/r/
10×associate-/r*
pow1
associate-*r*
cbrt-undiv flip3-- flip-- div-inv
prod-exp associate-/l*
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp difference-of-squares
rec-exp 1-exp distribute-lft-out--
sub-neg frac-2neg pow-prod-down associate-*l/ clear-num *-commutative unswap-sqr
pow-flip inv-pow
Counts
4 → 164
Calls
4 calls:
23.0ms
(* m (- 1.0 m))
11.0ms
(/ v (* m (- 1.0 m)))
195.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) m)
25.0ms
(/ 1 (/ v (* m (- 1.0 m))))

series188.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* m (- 1.0 m))
41.0ms
(/ v (* m (- 1.0 m)))
52.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) m)
47.0ms
(/ 1 (/ v (* m (- 1.0 m))))

simplify83.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06101242
13104955
25002942

prune256.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- 1.0 m) v)
0.2b
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
0.5b
(* m (/ (- 1.0 m) v))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
39×*-un-lft-identity
31×times-frac
25×add-cube-cbrt
22×associate-*r*
12×add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
associate-*l*
associate-/l*
expm1-log1p-u prod-exp associate-/r* cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv flip3-- div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv associate-/l/
frac-2neg div-sub associate-*r/ clear-num
Counts
3 → 102
Calls
3 calls:
18.0ms
(/ (- 1.0 m) v)
48.0ms
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
28.0ms
(* m (/ (- 1.0 m) v))

series110.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ (- 1.0 m) v)
39.0ms
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
38.0ms
(* m (/ (- 1.0 m) v))

simplify49.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0384599
11676549
25003543

prune205.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
0.1b
(/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))
0.2b
(* (- (* m (/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))) 1.0) m)
0.5b
(* m (/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)))

rewrite317.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
50×times-frac
48×difference-of-squares
43×*-un-lft-identity
36×unpow-prod-down cube-prod
35×associate-*r*
25×associate-/l*
24×sqr-pow
22×add-exp-log add-cbrt-cube
15×distribute-lft-out--
13×add-cube-cbrt
10×pow1
associate-*l*
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
difference-cubes pow-prod-down *-commutative unswap-sqr
flip3-- associate-*l/ flip-- div-inv associate-/l/
frac-2neg div-sub associate-*r/ clear-num associate-/r*
Counts
4 → 163
Calls
4 calls:
7.0ms
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
81.0ms
(/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))
128.0ms
(* (- (* m (/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))) 1.0) m)
94.0ms
(* m (/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)))

series361.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
90.0ms
(/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))
109.0ms
(* (- (* m (/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))) 1.0) m)
120.0ms
(* m (/ (- (pow 1.0 3) (pow m 3)) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)))

simplify98.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06281818
131031626
250011623

prune436.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes87.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample734.0ms

Algorithm
intervals
Results
299.0ms13558×body80valid
158.0ms13558×pre80true