Details

Time bar (total: 17.7s)

analyze2.1s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%74.9%0.1%6
31.2%68.7%0.1%7
34.3%65.6%0.1%8
37.5%59.3%3.2%9
42.9%53.5%3.6%10
44.5%50%5.6%11
47.8%45.8%6.4%12
48.7%43.7%7.6%13
50.5%41.3%8.2%14

sample136.0ms

Algorithm
intervals
Results
50.0ms213×body80valid
38.0ms177×body80invalid
17.0ms19×body640valid
7.0ms11×body320valid
5.0msbody1280valid
4.0msbody160valid

simplify451.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05054109

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

localize54.0ms

Local error

Found 4 expressions with local error:

3.6b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
3.8b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
3.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
5.2b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

rewrite105.0ms

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

series120.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
11.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
16.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
23.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)

simplify61.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049895980
149895980

prune691.0ms

Filtered
90 candidates to 121 candidates (-34.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1129121
Fresh101
Picked101
Done000
Total1149123

Merged error: 0.4b

Counts
123 → 9

localize47.0ms

Local error

Found 4 expressions with local error:

3.8b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
5.2b
(- (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
5.2b
(- (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
5.2b
(- (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
11×*-un-lft-identity
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
difference-of-squares
add-cube-cbrt sub-neg
flip3-- flip--
associate--l- associate-+r- times-frac diff-log div-sub associate-*r* pow-prod-down prod-exp cbrt-unprod distribute-lft-out--
associate-*r/
distribute-rgt-in distribute-lft-in associate-*l* *-commutative unswap-sqr
Counts
4 → 68
Calls
4 calls:
18.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
18.0ms
(- (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
18.0ms
(- (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)
18.0ms
(- (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 3.0)

series59.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
049912073
149912073

prune592.0ms

Filtered
63 candidates to 80 candidates (-27.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New80080
Fresh088
Picked011
Done000
Total80989

Merged error: 0.4b

Counts
89 → 9

localize52.0ms

Local error

Found 4 expressions with local error:

1.7b
(* (* x1 (* x1 (* (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0)) (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0))))) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
3.8b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.2b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
8.5b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 (* x1 (* (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0)) (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0))))) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
467×associate-*r/
324×cbrt-div
220×frac-times
215×flip3-- flip--
130×frac-add
110×associate-*l/
39×add-exp-log
33×add-cbrt-cube
27×pow1 associate-*r*
26×add-sqr-sqrt
23×*-un-lft-identity
22×prod-exp cbrt-unprod
16×times-frac pow-prod-down
15×add-cube-cbrt
add-log-exp
difference-of-squares
distribute-lft-out--
cbrt-undiv cbrt-prod sub-neg div-exp
associate-+l+ flip3-+ associate-*l* associate-/r/ *-commutative flip-+
+-commutative associate--l- distribute-rgt-in distribute-lft-in diff-log div-sub sum-log div-inv
Counts
4 → 257
Calls
4 calls:
59.0ms
(* (* x1 (* x1 (* (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0)) (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0))))) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
20.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
17.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
45.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 (* x1 (* (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0)) (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0))))) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))

series114.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (* x1 (* x1 (* (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0)) (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0))))) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
10.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
18.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
67.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (* (* x1 (* x1 (* (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0)) (cbrt (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) 4.0) 6.0))))) (cbrt (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))))

simplify379.0ms

Algorithm
egg-herbie
Counts
269 → 269
Iterations

Useful iterations: 0 (177.0ms)

IterNodesCost
0496157590
1496157590

prune6.7s

Filtered
181 candidates to 269 candidates (-48.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2681269
Fresh167
Picked011
Done011
Total2699278

Merged error: 0.4b

Counts
278 → 9

localize51.0ms

Local error

Found 4 expressions with local error:

3.6b
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (/ (* x1 (* x1 (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* 4.0 4.0))) (* 6.0 6.0)))) (+ (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
3.8b
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
5.2b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.1b
(* x1 (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* 4.0 4.0))) (* 6.0 6.0)))

rewrite131.0ms

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

series279.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(+ (* (* (* 2.0 x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)) (/ (* x1 (* x1 (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* 4.0 4.0))) (* 6.0 6.0)))) (+ (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))
10.0ms
(* (* (* 3.0 x1) x1) (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)))
14.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
42.0ms
(* x1 (- (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* (/ (+ (* 3.0 (* x1 x1)) (- (* 2.0 x2) x1)) (+ (* x1 x1) 1.0)) (* 4.0 4.0))) (* 6.0 6.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
053905706

prune952.0ms

Filtered
85 candidates to 113 candidates (-32.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh066
Picked011
Done112
Total1139122

Merged error: 0.4b

Counts
122 → 9

regimes342.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0119170
1119170

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.7s6968×body80valid
1.3s5789×body80invalid
352.0ms404×body640valid
193.0ms300×body320valid
187.0ms166×body1280valid
70.0ms162×body160valid

Profiling

Loading profile data...