Details

Time bar (total: 5.0s)

sample311.0ms

Algorithm
intervals
Results
22.0ms422×body80valid
9.0ms422×pre80true

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0166
1406
21126
33936
413446
540726
650016

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
57×*-un-lft-identity prod-diff
49×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in
15×times-frac
13×add-exp-log add-cbrt-cube
10×associate-*r*
flip3-- flip--
pow1 associate-*l*
fma-neg
associate-*r/ add-log-exp
sub-neg div-inv
expm1-log1p-u frac-times log1p-expm1-u distribute-lft-out-- difference-of-squares
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 169
Calls
4 calls:
12.0ms
(* m (- 1.0 m))
15.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
63.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
12.0ms
(/ (* m (- 1.0 m)) v)

series157.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* m (- 1.0 m))
26.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
36.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
51.0ms
(/ (* m (- 1.0 m)) v)

simplify95.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
05831692
128381209
250011196

prune262.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
90×prod-diff
87×add-sqr-sqrt
83×*-un-lft-identity
80×sqrt-prod
71×add-cube-cbrt
50×distribute-rgt-in distribute-lft-in
32×frac-times
23×flip3-- flip--
19×associate-*r*
18×add-exp-log add-cbrt-cube
16×associate-*l/
14×associate-*r/
13×pow1
12×flip3-+ flip-+
associate-*l*
prod-exp cbrt-unprod difference-of-squares
pow-prod-down
expm1-log1p-u sub-neg log1p-expm1-u distribute-lft-out-- add-log-exp
times-frac associate-/r* *-commutative
cbrt-undiv div-exp associate-/l/ distribute-lft-out unswap-sqr
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 233
Calls
4 calls:
11.0ms
(* m (- 1.0 m))
10.0ms
(/ (* m (- 1.0 m)) v)
90.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
61.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* m (- 1.0 m))
37.0ms
(/ (* m (- 1.0 m)) v)
137.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
138.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m)))

simplify65.0ms

Algorithm
egg-herbie
Counts
245 → 245
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012344829
150013996

prune490.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* m (- 1.0 m)) v)
0.1b
(/ (* m (- 1.0 m)) v)
0.1b
(* (+ (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt 1.0)) (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
0.2b
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
77×add-sqr-sqrt
72×prod-diff
67×*-un-lft-identity
61×add-cube-cbrt
38×distribute-rgt-in distribute-lft-in
32×associate-*l/
22×flip3-- flip--
18×add-exp-log add-cbrt-cube
15×associate-*r*
12×frac-times frac-add
associate-*l*
pow1
times-frac associate-*r/ associate-/r*
difference-of-squares
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
flip3-+ flip-+ distribute-lft-out-- unswap-sqr
sub-neg frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l*
distribute-lft-out
Counts
4 → 201
Calls
4 calls:
10.0ms
(/ (* m (- 1.0 m)) v)
10.0ms
(/ (* m (- 1.0 m)) v)
88.0ms
(* (+ (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt 1.0)) (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
44.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))

series500.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (* m (- 1.0 m)) v)
36.0ms
(/ (* m (- 1.0 m)) v)
344.0ms
(* (+ (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt 1.0)) (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
78.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))

simplify65.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012005529
150023967

prune483.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
37×*-un-lft-identity
27×add-cube-cbrt
18×prod-diff
15×times-frac
11×distribute-rgt-in distribute-lft-in
add-exp-log add-cbrt-cube
pow1 associate-*r* associate-/l* distribute-lft-out-- difference-of-squares
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u add-log-exp
sub-neg flip3-- associate-*r/ flip-- associate-/l/
cbrt-undiv frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv unswap-sqr
Counts
3 → 96
Calls
3 calls:
8.0ms
(/ (- 1.0 m) v)
11.0ms
(* (fma (/ m 1) (/ (- 1.0 m) v) (- 1.0)) (- 1.0 m))
0.0ms
(fma (/ m 1) (/ (- 1.0 m) v) (- 1.0))

series106.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(/ (- 1.0 m) v)
45.0ms
(* (fma (/ m 1) (/ (- 1.0 m) v) (- 1.0)) (- 1.0 m))
30.0ms
(fma (/ m 1) (/ (- 1.0 m) v) (- 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03781039
11530824
25003822

prune188.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01917
11917

end0.0ms

sample1.2s

Algorithm
intervals
Results
673.0ms13675×body80valid
269.0ms13675×pre80true