Details

Time bar (total: 2.2s)

analyze56.0ms

Algorithm
search

sample18.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
0.0msbody80nan

simplify102.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0247
1657
21827
33387
44887
57577
611667
717297
827937
950017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ 1.0 (* x 9.0)))
0.2b
(* 3.0 (sqrt x))
0.2b
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.5b
(/ 1.0 (* x 9.0))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
16×add-exp-log add-sqr-sqrt add-cbrt-cube
12×associate-*r*
11×pow1
10×add-cube-cbrt
add-log-exp
prod-exp cbrt-unprod
associate-*l* pow-prod-down sqrt-prod
distribute-rgt-in distribute-lft-in times-frac associate-/l*
cbrt-undiv sub-neg associate-*r/ div-exp associate--l+ *-commutative distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative flip3-- frac-2neg flip3-+ clear-num associate-/r* sum-log flip-- flip-+ div-inv difference-of-squares
Counts
4 → 84
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
5.0ms
(* 3.0 (sqrt x))
11.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(/ 1.0 (* x 9.0))

series25.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
4.0ms
(* 3.0 (sqrt x))
15.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
2.0ms
(/ 1.0 (* x 9.0))

simplify64.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0508558
12557503
25001501

prune162.0ms

Filtered
64 candidates to 96 candidates (-50.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New821496
Fresh000
Picked101
Done000
Total831497

Merged error: 0.0b

Counts
97 → 14

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ 1.0 (* x 9.0)))
0.3b
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.3b
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
0.5b
(/ 1.0 (* x 9.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
16×add-exp-log add-sqr-sqrt add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
11×pow1
10×add-cube-cbrt
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+ add-log-exp
prod-exp cbrt-unprod
pow-prod-down sqrt-prod
times-frac associate-/l*
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative frac-2neg flip3-+ clear-num associate-/r* sum-log flip-+ div-inv difference-of-squares
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
13.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
12.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
4.0ms
(/ 1.0 (* x 9.0))

series28.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
10.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
12.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
2.0ms
(/ 1.0 (* x 9.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0530786
12273716
25001716

prune141.0ms

Filtered
69 candidates to 110 candidates (-59.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh4913
Picked011
Done000
Total11212124

Merged error: 0b

Counts
124 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (* (/ 1 x) (/ 1.0 9.0)))
0.2b
(* 3.0 (sqrt x))
0.2b
(* (* 3.0 (sqrt x)) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0))
0.4b
(* (/ 1 x) (/ 1.0 9.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
33×add-exp-log
26×*-un-lft-identity
25×times-frac
24×associate-*r*
23×add-cbrt-cube
22×add-cube-cbrt
17×associate-*l*
13×pow1
12×prod-exp
div-exp cbrt-unprod unswap-sqr
add-log-exp
pow-prod-down
cbrt-undiv sqrt-prod
distribute-rgt-in distribute-lft-in associate-*r/ *-commutative
sub-neg rec-exp 1-exp associate--l+ div-inv
+-commutative frac-times flip3-- flip3-+ associate-*l/ sum-log flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 117
Calls
4 calls:
3.0ms
(+ y (* (/ 1 x) (/ 1.0 9.0)))
5.0ms
(* 3.0 (sqrt x))
10.0ms
(* (* 3.0 (sqrt x)) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0))
10.0ms
(* (/ 1 x) (/ 1.0 9.0))

series24.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ y (* (/ 1 x) (/ 1.0 9.0)))
4.0ms
(* 3.0 (sqrt x))
12.0ms
(* (* 3.0 (sqrt x)) (- (+ y (* (/ 1 x) (/ 1.0 9.0))) 1.0))
2.0ms
(* (/ 1 x) (/ 1.0 9.0))

simplify91.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0731811
13743694
25001684

prune180.0ms

Filtered
88 candidates to 129 candidates (-46.6%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1272129
Fresh2810
Picked011
Done011
Total12912141

Merged error: 0b

Counts
141 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (/ 1.0 9.0) x) y)
0.2b
(* 3.0 (- (+ (/ (/ 1.0 9.0) x) y) 1.0))
0.3b
(* (* 3.0 (- (+ (/ (/ 1.0 9.0) x) y) 1.0)) (sqrt x))
0.4b
(/ (/ 1.0 9.0) x)

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
57×*-un-lft-identity
54×add-sqr-sqrt
50×add-cube-cbrt
16×add-exp-log add-cbrt-cube
13×associate-/l*
12×associate-*r*
11×pow1
add-log-exp
div-inv
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r* sqrt-prod
sub-neg flip3-- associate-*l/ associate--l+ *-commutative flip-- distribute-lft-out distribute-lft-out--
+-commutative frac-2neg flip3-+ clear-num sum-log flip-+ associate-/l/ difference-of-squares unswap-sqr
Counts
4 → 134
Calls
4 calls:
22.0ms
(+ (/ (/ 1.0 9.0) x) y)
21.0ms
(* 3.0 (- (+ (/ (/ 1.0 9.0) x) y) 1.0))
21.0ms
(* (* 3.0 (- (+ (/ (/ 1.0 9.0) x) y) 1.0)) (sqrt x))
6.0ms
(/ (/ 1.0 9.0) x)

series38.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (/ (/ 1.0 9.0) x) y)
7.0ms
(* 3.0 (- (+ (/ (/ 1.0 9.0) x) y) 1.0))
20.0ms
(* (* 3.0 (- (+ (/ (/ 1.0 9.0) x) y) 1.0)) (sqrt x))
3.0ms
(/ (/ 1.0 9.0) x)

simplify94.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
0694981
13098906
25002906

prune215.0ms

Filtered
107 candidates to 146 candidates (-36.4%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1460146
Fresh099
Picked011
Done022
Total14612158

Merged error: 0b

Counts
158 → 12

regimes135.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0197
1197

end0.0ms

analyze53.0ms

Algorithm
search

sample482.0ms

Algorithm
intervals
Results
341.0ms8000×body80valid
6.0ms131×body80nan
3.0ms68×body80invalid

Profiling

Loading profile data...