Details

Time bar (total: 4.1s)

sample38.0ms

Algorithm
intervals
Results
9.0ms278×body80valid
8.0ms271×body80nan

simplify134.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0247
1657
21907
34127
46447
510837
616287
722737
837237
950017

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

rewrite205.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:
11.0ms
(+ y (/ 1.0 (* x 9.0)))
172.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
7.0ms
(/ 1.0 (* x 9.0))
9.0ms
(* 3.0 (sqrt x))

series156.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ 1.0 (* x 9.0)))
69.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
17.0ms
(/ 1.0 (* x 9.0))
45.0ms
(* 3.0 (sqrt x))

simplify86.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
05941130
12888878
25001872

prune292.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.2b
(fma 0.1111111111111111 (/ 1 x) y)
0.2b
(* (* 3.0 (sqrt x)) (- (fma 0.1111111111111111 (/ 1 x) y) 1.0))
0.3b
(* 3.0 (sqrt x))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
18×prod-diff
12×distribute-rgt-in distribute-lft-in
11×associate-*r*
10×pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod
expm1-log1p-u fma-udef log1p-expm1-u add-log-exp
sub-neg associate-*r/ associate--l+ *-commutative unswap-sqr
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 82
Calls
3 calls:
0.0ms
(fma 0.1111111111111111 (/ 1 x) y)
36.0ms
(* (* 3.0 (sqrt x)) (- (fma 0.1111111111111111 (/ 1 x) y) 1.0))
11.0ms
(* 3.0 (sqrt x))

series140.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(fma 0.1111111111111111 (/ 1 x) y)
74.0ms
(* (* 3.0 (sqrt x)) (- (fma 0.1111111111111111 (/ 1 x) y) 1.0))
39.0ms
(* 3.0 (sqrt x))

simplify65.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0449822
12051632
25001624

prune207.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 (sqrt x)) 0.1111111111111111)
0.2b
(/ (* (* 3.0 (sqrt x)) 0.1111111111111111) x)
0.3b
(* 3.0 (sqrt x))
0.3b
(* 3.0 (sqrt x))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log add-cbrt-cube
21×add-sqr-sqrt
15×associate-*r*
13×pow1 add-cube-cbrt *-un-lft-identity
prod-exp sqrt-prod cbrt-unprod
associate-*l*
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv times-frac div-exp associate-/r* *-commutative
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 93
Calls
4 calls:
23.0ms
(* (* 3.0 (sqrt x)) 0.1111111111111111)
26.0ms
(/ (* (* 3.0 (sqrt x)) 0.1111111111111111) x)
10.0ms
(* 3.0 (sqrt x))
15.0ms
(* 3.0 (sqrt x))

series176.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (* 3.0 (sqrt x)) 0.1111111111111111)
56.0ms
(/ (* (* 3.0 (sqrt x)) 0.1111111111111111) x)
37.0ms
(* 3.0 (sqrt x))
39.0ms
(* 3.0 (sqrt x))

simplify62.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0325529
11854445
25001429

prune275.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* 3.0 (sqrt x)) (- y 1.0))
0.3b
(/ 1 (/ (pow x 1/2) (* 3.0 0.1111111111111111)))
0.3b
(* 3.0 (sqrt x))
0.3b
(/ (pow x 1/2) (* 3.0 0.1111111111111111))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
73×add-exp-log
68×times-frac
54×add-sqr-sqrt
50×*-un-lft-identity
48×add-cube-cbrt
38×div-exp
25×add-cbrt-cube
18×unpow-prod-down prod-diff
16×prod-exp
12×pow1 associate-/r*
11×distribute-rgt-in distribute-lft-in associate-*r*
10×associate-/l*
pow-to-exp pow-exp
cbrt-undiv rec-exp 1-exp
cbrt-unprod div-inv sqr-pow
expm1-log1p-u associate-*l* pow-prod-down sqrt-prod log1p-expm1-u add-log-exp
sub-neg frac-2neg associate-*r/ clear-num *-commutative unswap-sqr
flip3-- pow-flip associate-/r/ flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 191
Calls
4 calls:
36.0ms
(* (* 3.0 (sqrt x)) (- y 1.0))
23.0ms
(/ 1 (/ (pow x 1/2) (* 3.0 0.1111111111111111)))
10.0ms
(* 3.0 (sqrt x))
12.0ms
(/ (pow x 1/2) (* 3.0 0.1111111111111111))

series175.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (* 3.0 (sqrt x)) (- y 1.0))
45.0ms
(/ 1 (/ (pow x 1/2) (* 3.0 0.1111111111111111)))
37.0ms
(* 3.0 (sqrt x))
46.0ms
(/ (pow x 1/2) (* 3.0 0.1111111111111111))

simplify138.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
08551398
143321148
250011119

prune448.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes85.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0166
1166

end0.0ms

sample1.2s

Algorithm
intervals
Results
535.0ms8490×body80valid
264.0ms8354×body80nan