Details

Time bar (total: 9.6s)

sample281.0ms

Algorithm
intervals
Results
10.0ms426×body80valid
6.0ms426×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 3 expressions with local error:

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

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
39×*-un-lft-identity
36×prod-diff
33×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in
12×add-exp-log add-cbrt-cube
10×associate-*r*
flip3-- associate-*l* flip--
pow1
associate-*r/
frac-times sub-neg
expm1-log1p-u times-frac prod-exp associate-/r* cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ unswap-sqr
frac-2neg clear-num div-inv associate-/l*
Counts
3 → 125
Calls
3 calls:
22.0ms
(* m (- 1.0 m))
21.0ms
(/ (* m (- 1.0 m)) v)
107.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

series122.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05001273
12527968
25001962

prune207.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite316.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
52×add-sqr-sqrt
51×times-frac
41×add-cube-cbrt
22×add-exp-log add-cbrt-cube
20×prod-diff
14×distribute-rgt-in distribute-lft-in
11×associate-/l*
10×associate-/r/
associate-*r* associate-*l*
pow1 flip3-- flip--
cbrt-undiv div-exp associate-/r*
associate-*r/ div-inv distribute-lft-out
flip3-+ flip-+
expm1-log1p-u frac-times sub-neg prod-exp cbrt-unprod log1p-expm1-u add-log-exp difference-of-squares
associate-/l/
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative distribute-lft-out-- unswap-sqr
Counts
4 → 175
Calls
4 calls:
28.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (+ 1.0 m))
27.0ms
(* m (- (* 1.0 1.0) (* m m)))
26.0ms
(/ (/ (* m (- (* 1.0 1.0) (* m m))) (+ 1.0 m)) v)
228.0ms
(* (- (/ (/ (* m (- (* 1.0 1.0) (* m m))) (+ 1.0 m)) v) 1.0) (- 1.0 m))

series289.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (+ 1.0 m))
65.0ms
(* m (- (* 1.0 1.0) (* m m)))
64.0ms
(/ (/ (* m (- (* 1.0 1.0) (* m m))) (+ 1.0 m)) v)
56.0ms
(* (- (/ (/ (* m (- (* 1.0 1.0) (* m m))) (+ 1.0 m)) v) 1.0) (- 1.0 m))

simplify140.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (120.0ms)

IterNodesCost
08202304
143791999
250011997

prune392.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite2.0s

Algorithm
rewrite-expression-head
Rules
3337×times-frac
1676×*-un-lft-identity
1336×add-sqr-sqrt
1291×add-cube-cbrt
200×difference-of-squares
189×distribute-lft-out
135×div-inv
110×associate-/r/
97×associate-/r*
47×flip3-+ flip-+
43×add-exp-log
34×add-cbrt-cube
28×div-exp
20×associate-/l*
19×cbrt-undiv
18×prod-diff
14×associate-*l*
11×distribute-rgt-in distribute-lft-in
flip3-- flip--
pow1
associate-*r*
expm1-log1p-u frac-times log1p-expm1-u add-log-exp
frac-2neg 1-exp clear-num associate-/l/
sub-neg associate-*r/ associate-*l/ distribute-lft-out--
div-sub pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 1250
Calls
4 calls:
22.0ms
(/ v (/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m)))
1.8s
(* (- (/ (/ m 1) (/ v (/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m)))) 1.0) (- 1.0 m))
28.0ms
(/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m))
56.0ms
(/ (/ m 1) (/ v (/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m))))

series242.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ v (/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m)))
53.0ms
(* (- (/ (/ m 1) (/ v (/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m)))) 1.0) (- 1.0 m))
66.0ms
(/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m))
65.0ms
(/ (/ m 1) (/ v (/ (- (* 1.0 1.0) (* m m)) (+ 1.0 m))))

simplify222.0ms

Algorithm
egg-herbie
Counts
1262 → 1262
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
0500122568

prune3.0s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 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) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
0.1b
(* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m)))

rewrite317.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:
22.0ms
(* m (- 1.0 m))
20.0ms
(/ (* m (- 1.0 m)) v)
156.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
105.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m)))

series325.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* m (- 1.0 m))
32.0ms
(/ (* m (- 1.0 m)) v)
125.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
123.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 (30.0ms)

IterNodesCost
012344829
150013996

prune496.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes45.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
01610
11610

end0.0ms

sample760.0ms

Algorithm
intervals
Results
299.0ms13796×body80valid
167.0ms13796×pre80true