Details

Time bar (total: 2.8s)

sample30.0ms

Algorithm
intervals
Results
9.0ms276×body80valid
8.0ms263×body80nan

simplify101.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

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

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

series142.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0456548
12172486
25002484

prune216.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
16×add-exp-log add-sqr-sqrt add-cbrt-cube
11×pow1
10×add-cube-cbrt
associate-*l*
associate-*r*
add-log-exp
prod-exp cbrt-unprod
pow-prod-down sqrt-prod
times-frac associate-/l*
cbrt-undiv 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 → 78
Calls
4 calls:
4.0ms
(+ y (/ 1.0 (* x 9.0)))
11.0ms
(* (- (+ y (/ 1.0 (* x 9.0))) 1.0) (* 3.0 (sqrt x)))
4.0ms
(/ 1.0 (* x 9.0))
5.0ms
(* 3.0 (sqrt x))

series154.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ y (/ 1.0 (* x 9.0)))
70.0ms
(* (- (+ y (/ 1.0 (* x 9.0))) 1.0) (* 3.0 (sqrt x)))
19.0ms
(/ 1.0 (* x 9.0))
37.0ms
(* 3.0 (sqrt x))

simplify45.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0418498
11768436
25001434

prune195.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

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

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

series164.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0427770
11858694
25002694

prune208.0ms

Pruning

10 alts after pruning (10 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.1b
(* (- (+ y (/ 1.0 (* x 9.0))) 1.0) 3.0)
0.3b
(/ 1.0 (* x 9.0))
0.3b
(* (* (- (+ y (/ 1.0 (* x 9.0))) 1.0) 3.0) (sqrt x))

rewrite32.0ms

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

series151.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0392575
11733503
25003501

prune175.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes71.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
0167
1167

end0.0ms

sample824.0ms

Algorithm
intervals
Results
283.0ms8605×body80valid
276.0ms8468×body80nan