Details

Time bar (total: 9.7s)

sample239.0ms

Algorithm
intervals
Results
166.0ms440×body80valid
14.0msbody1280valid
14.0ms10×body640valid
8.0msbody320valid
3.0msbody160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (14.0ms)

IterNodesCost
05111110

prune17.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2

localize48.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (* x1 (neg 6.0)))
0.2b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
3.1b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
3.4b
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* x1 (* x1 (neg 6.0))))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
18×associate-*l*
15×*-un-lft-identity
14×add-exp-log add-cbrt-cube
13×add-cube-cbrt
11×pow1 times-frac
add-log-exp
distribute-rgt-neg-out
prod-exp cbrt-unprod
flip3-+ associate-*r* pow-prod-down flip-+
distribute-rgt-in frac-times associate-+l+ distribute-lft-in associate-*r/ associate-/r/ *-commutative difference-of-squares unswap-sqr
cbrt-undiv +-commutative associate--l- associate-+r- sub-neg flip3-- diff-log div-sub div-exp unsub-neg associate-*l/ sum-log flip-- div-inv distribute-lft-out--
Counts
4 → 90
Calls
4 calls:
6.0ms
(* x1 (* x1 (neg 6.0)))
38.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
19.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
40.0ms
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* x1 (* x1 (neg 6.0))))

series135.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x1 (* x1 (neg 6.0)))
36.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
15.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
79.0ms
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* x1 (* x1 (neg 6.0))))

simplify51.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050123614

prune582.0ms

Filtered
79 candidates to 102 candidates (-29.1%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9012102
Fresh101
Picked101
Done000
Total9212104

Merged error: 0.4b

Counts
104 → 12

localize51.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x1 x1) (* x1 x1))
0.2b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (- (* (* x1 x1) (* x1 x1)) (* 1.0 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (- (* x1 x1) 1.0)))
3.1b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
3.4b
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (- (* (* x1 x1) (* x1 x1)) (* 1.0 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (- (* x1 x1) 1.0))) (* x1 (* x1 (neg 6.0))))

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
124×pow1
37×add-exp-log add-cbrt-cube
36×pow-prod-up
29×pow-prod-down
24×associate-*r/
22×pow-sqr
20×prod-exp cbrt-unprod
19×associate-*l*
18×pow-plus
17×add-sqr-sqrt
16×distribute-rgt-in frac-times distribute-lft-in
14×*-un-lft-identity
13×pow2 times-frac
12×add-cube-cbrt
sub-neg
associate-+l+ flip3-- flip-- add-log-exp
flip3-+ flip-+
associate-*l/ difference-of-squares
distribute-rgt-neg-out
cbrt-undiv div-exp
associate-*r* associate-/r/ *-commutative
+-commutative associate--l- associate-+r- diff-log div-sub swap-sqr unsub-neg sum-log div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 167
Calls
4 calls:
10.0ms
(* (* x1 x1) (* x1 x1))
53.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (- (* (* x1 x1) (* x1 x1)) (* 1.0 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (- (* x1 x1) 1.0)))
19.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
54.0ms
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (- (* (* x1 x1) (* x1 x1)) (* 1.0 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (- (* x1 x1) 1.0))) (* x1 (* x1 (neg 6.0))))

series470.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (* x1 x1) (* x1 x1))
39.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (- (* (* x1 x1) (* x1 x1)) (* 1.0 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (- (* x1 x1) 1.0)))
15.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
410.0ms
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (- (* (* x1 x1) (* x1 x1)) (* 1.0 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (- (* x1 x1) 1.0))) (* x1 (* x1 (neg 6.0))))

simplify57.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
050376299

prune768.0ms

Filtered
94 candidates to 179 candidates (-90.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1781179
Fresh11011
Picked011
Done000
Total17912191

Merged error: 0.4b

Counts
191 → 12

localize41.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (* x1 3.0))
0.2b
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
3.1b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
3.4b
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 x1) (neg 6.0)))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
18×associate-*l*
15×*-un-lft-identity
14×add-exp-log add-cbrt-cube
13×add-cube-cbrt
11×pow1 times-frac
add-log-exp
prod-exp cbrt-unprod
flip3-+ associate-*r* pow-prod-down flip-+
distribute-rgt-in frac-times associate-+l+ distribute-lft-in associate-*r/ associate-/r/ *-commutative distribute-rgt-neg-out difference-of-squares unswap-sqr
cbrt-undiv +-commutative associate--l- associate-+r- sub-neg flip3-- diff-log div-sub div-exp unsub-neg associate-*l/ sum-log flip-- div-inv distribute-lft-out--
Counts
4 → 89
Calls
4 calls:
6.0ms
(* x1 (* x1 3.0))
43.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
19.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
37.0ms
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 x1) (neg 6.0)))

series128.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* x1 (* x1 3.0))
33.0ms
(* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1))))
16.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
75.0ms
(+ (* (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (+ (* x1 (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0))) (* 4.0 (* x1 x1)))) (* (* x1 x1) (neg 6.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049823581
149823581

prune443.0ms

Filtered
77 candidates to 101 candidates (-31.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New974101
Fresh5510
Picked011
Done011
Total10211113

Merged error: 0.4b

Counts
113 → 11

localize44.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (* x1 3.0))
0.2b
(* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (sqrt (+ (* x1 x1) 1.0))))
3.1b
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
3.4b
(+ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (sqrt (+ (* x1 x1) 1.0))))) (* (* x1 x1) (neg 6.0)))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
25×associate-*r*
23×add-sqr-sqrt
21×add-exp-log add-cbrt-cube
20×*-un-lft-identity
19×times-frac
18×add-cube-cbrt
14×pow1
prod-exp sqrt-prod cbrt-unprod
add-log-exp
pow-prod-down
associate-*r/
flip3-+ associate-*l* flip-+
cbrt-undiv frac-times sqrt-div div-exp associate-*l/ associate-/r/ *-commutative distribute-rgt-neg-out difference-of-squares
+-commutative associate--l- associate-+r- sub-neg flip3-- diff-log div-sub unsub-neg sum-log flip-- div-inv distribute-lft-out--
Counts
4 → 95
Calls
4 calls:
6.0ms
(* x1 (* x1 3.0))
39.0ms
(* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (sqrt (+ (* x1 x1) 1.0))))
19.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
54.0ms
(+ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (sqrt (+ (* x1 x1) 1.0))))) (* (* x1 x1) (neg 6.0)))

series142.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* x1 (* x1 3.0))
37.0ms
(* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (sqrt (+ (* x1 x1) 1.0))))
15.0ms
(- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
86.0ms
(+ (* (/ 1 (sqrt (+ (* x1 x1) 1.0))) (* (* x1 (+ (* 2.0 (- (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)) (* x1 4.0))) (/ (+ (* x1 (* x1 3.0)) (- (* 2.0 x2) x1)) (sqrt (+ (* x1 x1) 1.0))))) (* (* x1 x1) (neg 6.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049694033
149694033

prune499.0ms

Filtered
73 candidates to 107 candidates (-46.6%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1061107
Fresh088
Picked011
Done022
Total10612118

Merged error: 0.4b

Counts
118 → 12

regimes367.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
080120
180120

end0.0ms

sample5.0s

Algorithm
intervals
Results
3.5s14138×body80valid
444.0ms453×body640valid
219.0ms177×body1280valid
212.0ms285×body320valid
83.0ms169×body160valid

Profiling

Loading profile data...