Details

Time bar (total: 3.9s)

sample50.0ms

Algorithm
intervals
Results
21.0ms256×body80valid
18.0ms266×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (- x 1.0))
0.1b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-cube-cbrt
pow1 associate-*r*
associate-*r/
times-frac associate-*l* associate-/r* sum-log
cbrt-undiv distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
+-commutative associate-+l+ frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
14.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
10.0ms
(* 6.0 (- x 1.0))
20.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series169.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
46.0ms
(* 6.0 (- x 1.0))
84.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify45.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0377495
11642421
25001420

prune155.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
0.1b
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
37×*-un-lft-identity
31×times-frac
23×add-cube-cbrt
21×associate-*r*
10×add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-out-- difference-of-squares
pow1 associate-/l*
associate-/r/
flip3-+ associate-*l* associate-/r* sum-log flip-+
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative associate-+l+ flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative flip--
Counts
3 → 93
Calls
3 calls:
13.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
44.0ms
(* 6.0 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
24.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series200.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
84.0ms
(* 6.0 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
75.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0439987
11809895
25003893

prune218.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(* 6.0 (- x 1.0))
0.0b
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
0.2b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
32×add-exp-log
30×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
20×add-cbrt-cube
14×div-exp
12×associate-*r/
11×associate-/r/
10×associate-/r*
add-log-exp
pow1 cbrt-undiv
flip3-- flip-- div-inv associate-/l*
associate-*r* prod-exp
rec-exp 1-exp associate-*l* sum-log cbrt-unprod
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+ pow-flip pow-prod-down *-commutative distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 128
Calls
4 calls:
13.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
9.0ms
(* 6.0 (- x 1.0))
24.0ms
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
37.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
47.0ms
(* 6.0 (- x 1.0))
87.0ms
(/ 1 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0))))
83.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (* 6.0 (- x 1.0)))

simplify74.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05581339
126681170
250011122

prune239.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.0b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
0.1b
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
103×add-sqr-sqrt *-un-lft-identity
71×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
10×add-exp-log add-cbrt-cube
add-log-exp
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 sum-log
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+
Counts
3 → 154
Calls
3 calls:
13.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
38.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
23.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series196.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
77.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
82.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06412084
129421986
250011984

prune402.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes19.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.4s

Algorithm
intervals
Results
649.0ms8000×body80valid
548.0ms8027×body80nan