Details

Time bar (total: 4.8s)

sample28.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
5.0ms256×pre80true

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0915
12215
24715
38615
416615
529615
653215
796715
8334815
done500015

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.6b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
20.3b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity add-log-exp
flip3-- times-frac associate-/r* flip--
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l*
Counts
2 → 42
Calls
2 calls:
4.0ms
(+ (* x x) (* y y))
13.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series17.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* x x) (* y y))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify505.0ms

Counts
48 → 48
Iterations

Useful iterations: done (503.0ms)

IterNodesCost
091826
1308804
21548668
done5001662

prune67.0ms

Filtered
40 candidates to 48 candidates (-20.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44448
Fresh000
Picked101
Done000
Total45449

Merged error: 0.8b

Counts
49 → 4

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify1.0ms

Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000
done00

prune8.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done000
Total044

Merged error: 0.8b

Counts
4 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))
0.0b
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
20.3b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×exp-prod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×log-pow
add-exp-log times-frac add-cbrt-cube
associate-/l/
flip3-+ flip-+ add-log-exp
associate-/r/
pow1
frac-times
log-prod flip3-- associate-/r* flip-- div-inv
cbrt-undiv associate-*r/ div-exp associate-*l/
+-commutative frac-2neg rem-log-exp prod-exp clear-num sum-log cbrt-unprod rem-exp-log associate-/l*
Counts
4 → 80
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
6.0ms
(exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))
7.0ms
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
13.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (* x x) (* y y))
18.0ms
(exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))
12.0ms
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify587.0ms

Counts
92 → 92
Iterations

Useful iterations: done (584.0ms)

IterNodesCost
01291610
13561537
216371300
done50011294

prune117.0ms

Filtered
75 candidates to 92 candidates (-22.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh022
Picked011
Done011
Total92496

Merged error: 0.8b

Counts
96 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
0.0b
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
19.6b
(sqrt (+ (* x x) (* y y)))
19.6b
(sqrt (+ (* x x) (* y y)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
93×*-un-lft-identity
90×times-frac
55×add-cube-cbrt
54×sqrt-prod
36×associate-*l*
30×associate-*r*
18×add-exp-log add-cbrt-cube
13×distribute-lft-out
10×sqrt-div
unswap-sqr
pow1
flip3-+ associate-/r* associate-/r/ flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp
prod-exp cbrt-unprod associate-/l* add-log-exp
div-inv
rem-sqrt-square sqrt-pow1 pow1/2 associate-/l/
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 175
Calls
4 calls:
36.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
10.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
14.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
7.0ms
(sqrt (+ (* x x) (* y y)))
10.0ms
(sqrt (+ (* x x) (* y y)))

simplify590.0ms

Counts
187 → 187
Iterations

Useful iterations: done (584.0ms)

IterNodesCost
01924550
15814295
221733851
done50013679

prune140.0ms

Filtered
121 candidates to 187 candidates (-54.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1870187
Fresh011
Picked011
Done022
Total1874191

Merged error: 0.8b

Counts
191 → 4

regimes147.0ms

Accuracy

79% (4.3b remaining)

Error of 4.8b against oracle of 0.4b and baseline of 21.1b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01536
11836
done1836

end0.0ms

sample756.0ms

Algorithm
intervals
Results
346.0ms8000×body80valid
158.0ms8000×pre80true

Profiling

Loading profile data...