Details

Time bar (total: 4.2s)

sample45.0ms

Algorithm
intervals
Results
17.0ms280×body80valid
14.0ms277×body80nan

simplify105.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0247
1657
21827
33387
44887
57577
611667
717297
827937
950017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize12.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
(* 3.0 (sqrt x))
0.5b
(/ 1.0 (* x 9.0))

rewrite85.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:
5.0ms
(+ y (/ 1.0 (* x 9.0)))
71.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
4.0ms
(* 3.0 (sqrt x))
3.0ms
(/ 1.0 (* x 9.0))

series145.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ 1.0 (* x 9.0)))
66.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
37.0ms
(* 3.0 (sqrt x))
16.0ms
(/ 1.0 (* x 9.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0456548
12172486
25002484

prune216.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

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))

rewrite272.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:
17.0ms
(+ y (/ (/ 1.0 x) 9.0))
236.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
6.0ms
(/ (/ 1.0 x) 9.0)
8.0ms
(* 3.0 (sqrt x))

series153.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ y (/ (/ 1.0 x) 9.0))
61.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ (/ 1.0 x) 9.0)) 1.0))
22.0ms
(/ (/ 1.0 x) 9.0)
39.0ms
(* 3.0 (sqrt x))

simplify71.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0679914
12985846
25001846

prune343.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
61×add-sqr-sqrt
55×*-un-lft-identity
53×add-cube-cbrt
18×add-exp-log add-cbrt-cube
16×associate-*r*
13×pow1 associate-/l*
sqrt-prod
associate-*l*
pow-prod-down prod-exp cbrt-unprod div-inv
add-log-exp unswap-sqr
cbrt-undiv div-exp associate-/r* *-commutative
associate-*r/
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ clear-num flip-+ associate-/l/ distribute-lft-out
Counts
4 → 137
Calls
4 calls:
6.0ms
(/ (/ 1.0 x) 9.0)
60.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
4.0ms
(* 3.0 (sqrt x))
5.0ms
(* 3.0 (sqrt x))

series168.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (/ 1.0 x) 9.0)
73.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
37.0ms
(* 3.0 (sqrt x))
41.0ms
(* 3.0 (sqrt x))

simplify75.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0621877
12804797
25001797

prune388.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (sqrt x)))
0.3b
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
0.3b
(* 3.0 (sqrt x))
0.4b
(* (cbrt 3.0) (sqrt x))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-exp-log
24×add-sqr-sqrt
18×add-cbrt-cube
17×associate-*r*
14×*-un-lft-identity
13×pow-prod-down prod-exp cbrt-unprod
12×add-cube-cbrt
11×associate-*l*
sqrt-prod
unswap-sqr
cbrt-prod
*-commutative add-log-exp
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ flip-+ distribute-lft-out
Counts
4 → 94
Calls
4 calls:
20.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (sqrt x)))
59.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
4.0ms
(* 3.0 (sqrt x))
6.0ms
(* (cbrt 3.0) (sqrt x))

series257.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (sqrt x)))
73.0ms
(* (* 3.0 (sqrt x)) (+ y (/ (/ 1.0 x) 9.0)))
37.0ms
(* 3.0 (sqrt x))
67.0ms
(* (cbrt 3.0) (sqrt x))

simplify63.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0496730
12462593
25002515

prune252.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes93.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03123
13523
24223
35123
45923
55923

end0.0ms

sample1.2s

Algorithm
intervals
Results
518.0ms8543×body80valid
446.0ms8415×body80nan