Details

Time bar (total: 2.8s)

sample31.0ms

Algorithm
intervals
Results
16.0ms273×body80valid
2.0ms60×body80nan

simplify103.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)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.3b
(/ 1.0 (* x 9.0))
0.3b
(* 3.0 (sqrt x))

rewrite26.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)))
11.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(/ 1.0 (* x 9.0))
4.0ms
(* 3.0 (sqrt x))

series22.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0508558
12557503
25001501

prune148.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New861096
Fresh000
Picked101
Done000
Total871097

Merged error: 0.0b

Counts
97 → 10

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
57×*-un-lft-identity
56×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-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r*
sub-neg associate-*r/ associate--l+ *-commutative distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative flip3-- frac-2neg flip3-+ clear-num sum-log flip-- flip-+ associate-/l/ difference-of-squares
Counts
4 → 133
Calls
4 calls:
11.0ms
(+ y (/ (/ 1.0 x) 9.0))
18.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
6.0ms
(/ (/ 1.0 x) 9.0)
5.0ms
(* 3.0 (sqrt x))

series25.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
0730924
13357863
25001863

prune217.0ms

Filtered
107 candidates to 145 candidates (-35.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1423145
Fresh369
Picked101
Done000
Total1469155

Merged error: 0.0b

Counts
155 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
471×times-frac
242×*-un-lft-identity
241×add-sqr-sqrt
235×add-cube-cbrt
57×associate-/r*
37×add-exp-log
25×add-cbrt-cube
23×div-inv
18×div-exp
13×associate-*r*
12×pow1
cbrt-undiv
associate-/r/ associate-/l*
associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod add-log-exp
distribute-rgt-in rec-exp distribute-lft-in 1-exp distribute-lft-out--
sub-neg frac-2neg associate-*r/ associate--l+ clear-num *-commutative distribute-lft-out unswap-sqr
flip3-- pow-flip flip-- inv-pow difference-of-squares
Counts
4 → 326
Calls
4 calls:
40.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1 (/ 9.0 (/ 1.0 x)))) 1.0))
11.0ms
(/ 1 (/ 9.0 (/ 1.0 x)))
4.0ms
(* 3.0 (sqrt x))
6.0ms
(/ 9.0 (/ 1.0 x))

series20.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
338 → 338
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013132803
150012502

prune539.0ms

Filtered
227 candidates to 338 candidates (-48.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New3380338
Fresh088
Picked011
Done000
Total3389347

Merged error: 0.0b

Counts
347 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

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

series30.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))
2.0ms
(/ (/ 1.0 x) 9.0)
14.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07521152
131411078
250031078

prune203.0ms

Filtered
112 candidates to 159 candidates (-42.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1572159
Fresh167
Picked101
Done011
Total1599168

Merged error: 0.0b

Counts
168 → 9

regimes218.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
0198
1198

end0.0ms

sample705.0ms

Algorithm
intervals
Results
360.0ms8506×body80valid
90.0ms2071×body80nan

Profiling

Loading profile data...