Details

Time bar (total: 3.4s)

sample280.0ms

Algorithm
intervals
Results
11.0ms434×body80valid
7.0ms434×pre80true

simplify127.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.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:
7.0ms
(* m (- 1.0 m))
8.0ms
(/ (* m (- 1.0 m)) v)
16.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series140.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(* m (- 1.0 m))
37.0ms
(/ (* m (- 1.0 m)) v)
55.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

simplify61.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0394683
11939511
25001505

prune172.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
0.3b
(* m (/ (- 1.0 m) v))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
22×associate-*r*
20×*-un-lft-identity
16×times-frac
14×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 associate-*l*
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
expm1-log1p-u pow-prod-down associate-*l/ *-commutative log1p-expm1-u add-log-exp
cbrt-undiv flip3-- associate-*r/ div-exp flip-- div-inv
Counts
2 → 62
Calls
2 calls:
10.0ms
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
12.0ms
(* m (/ (- 1.0 m) v))

series72.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
37.0ms
(* m (/ (- 1.0 m) v))

simplify48.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0304391
11418357
25001351

prune130.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

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

series212.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* m (- 1.0 m))
40.0ms
(/ (* m (- 1.0 m)) v)
77.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
49.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

simplify72.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05241015
12424784
25001770

prune233.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- 1.0 m) (sqrt v))
0.3b
(/ m (sqrt v))
0.4b
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))
0.5b
(* (* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) (sqrt m)) (sqrt m))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
126×add-sqr-sqrt
108×times-frac
96×*-un-lft-identity
70×add-cube-cbrt
63×sqrt-prod
40×associate-*r*
25×add-exp-log add-cbrt-cube
23×associate-*l*
13×distribute-lft-out-- difference-of-squares
12×associate-/r*
11×pow1
unswap-sqr
associate-/l*
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*l/
expm1-log1p-u pow-prod-down log1p-expm1-u div-inv add-log-exp
flip3-- frac-2neg clear-num *-commutative flip-- associate-/l/
frac-times div-sub associate-*r/
Counts
4 → 211
Calls
4 calls:
8.0ms
(/ (- 1.0 m) (sqrt v))
5.0ms
(/ m (sqrt v))
25.0ms
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))
18.0ms
(* (* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) (sqrt m)) (sqrt m))

series192.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ (- 1.0 m) (sqrt v))
44.0ms
(/ m (sqrt v))
49.0ms
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))
54.0ms
(* (* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) (sqrt m)) (sqrt m))

simplify104.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08441821
141111638
250011600

prune512.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes59.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

sample761.0ms

Algorithm
intervals
Results
333.0ms13925×body80valid
191.0ms13925×pre80true