Details

Time bar (total: 3.4s)

sample30.0ms

Algorithm
intervals
Results
8.0ms269×body80valid
8.0ms256×body80nan

simplify118.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0247
1657
21907
34127
46447
510837
616287
722737
837237
950017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
31×add-sqr-sqrt
25×add-cube-cbrt
24×prod-diff
16×add-exp-log add-cbrt-cube
15×distribute-rgt-in distribute-lft-in
12×associate-*r*
11×pow1
distribute-lft-out
add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* pow-prod-down sqrt-prod log1p-expm1-u
fma-def times-frac associate-/l*
cbrt-undiv sub-neg associate-*r/ div-exp associate--l+ *-commutative 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 → 119
Calls
4 calls:
5.0ms
(+ y (/ 1.0 (* x 9.0)))
13.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
5.0ms
(* 3.0 (sqrt x))
4.0ms
(/ 1.0 (* x 9.0))

series153.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ y (/ 1.0 (* x 9.0)))
62.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
44.0ms
(* 3.0 (sqrt x))
17.0ms
(/ 1.0 (* x 9.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05941130
12888878
25001872

prune243.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×add-exp-log add-cbrt-cube
15×associate-*r*
13×pow1 add-cube-cbrt *-un-lft-identity
sqrt-prod
associate-*l*
prod-exp cbrt-unprod
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
times-frac *-commutative associate-/l*
cbrt-undiv div-exp
frac-2neg clear-num associate-/r* div-inv
Counts
4 → 91
Calls
4 calls:
5.0ms
(* 3.0 (sqrt x))
5.0ms
(* 3.0 (sqrt x))
5.0ms
(* (* 3.0 (sqrt x)) y)
4.0ms
(/ 1.0 (* x 9.0))

series149.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0366440
11571379
25002366

prune243.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
75×distribute-rgt-in distribute-lft-in
72×prod-diff
59×add-sqr-sqrt
53×add-cube-cbrt
20×distribute-lft-out
16×add-exp-log add-cbrt-cube
11×pow1
associate-*l*
associate-*r*
sub-neg associate-*r/ associate--l+ add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u pow-prod-down sqrt-prod log1p-expm1-u
fma-def times-frac associate-/l*
cbrt-undiv flip3-- div-exp *-commutative flip-- distribute-lft-out-- unswap-sqr
+-commutative frac-2neg flip3-+ clear-num associate-/r* sum-log flip-+ div-inv difference-of-squares
Counts
4 → 181
Calls
4 calls:
5.0ms
(+ y (/ 1.0 (* x 9.0)))
12.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
14.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
9.0ms
(/ 1.0 (* x 9.0))

series170.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ y (/ 1.0 (* x 9.0)))
61.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
67.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))
16.0ms
(/ 1.0 (* x 9.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06332404
126631754
250021748

prune287.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
34×sqrt-prod
33×add-sqr-sqrt
24×pow1
21×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
18×times-frac
13×associate-*r*
12×swap-sqr
11×associate-*l*
sqrt-pow1 pow1/2
pow-prod-down prod-exp cbrt-unprod div-inv associate-/l*
pow-prod-up
cbrt-undiv expm1-log1p-u sqrt-div div-exp log1p-expm1-u add-log-exp unswap-sqr
pow-sqr
frac-2neg clear-num associate-/r* *-commutative
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ rem-square-sqrt
Counts
4 → 132
Calls
4 calls:
5.0ms
(* (* 3.0 (sqrt x)) y)
4.0ms
(/ 1.0 (* x 9.0))
4.0ms
(/ 1.0 (* x 9.0))
17.0ms
(* (sqrt (/ 1.0 (* x 9.0))) (sqrt (/ 1.0 (* x 9.0))))

series149.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (* 3.0 (sqrt x)) y)
15.0ms
(/ 1.0 (* x 9.0))
22.0ms
(/ 1.0 (* x 9.0))
54.0ms
(* (sqrt (/ 1.0 (* x 9.0))) (sqrt (/ 1.0 (* x 9.0))))

simplify63.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0438634
12221544
25001529

prune501.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes121.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02015
12015

end0.0ms

sample816.0ms

Algorithm
intervals
Results
268.0ms8532×body80valid
260.0ms8606×body80nan