Details

Time bar (total: 13.6s)

sample28.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify241.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1159
2369
3749
41239
51559
61679
71709
done1709

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize13.0ms

Local error

Found 1 expressions with local error:

13.3b
(/ (* (* x 2.0) y) (- x y))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
times-frac associate-/r*
cbrt-undiv add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/r/ distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u flip3-- frac-2neg clear-num flip-- log1p-expm1-u div-inv associate-/l* add-log-exp
Counts
1 → 31
Calls
1 calls:
34.0ms
(/ (* (* x 2.0) y) (- x y))

series120.0ms

Counts
1 → 3
Calls
1 calls:
120.0ms
(/ (* (* x 2.0) y) (- x y))

simplify1.6s

Counts
34 → 34
Iterations

Useful iterations: 2 (187.0ms)

IterNodesCost
079420
1211400
2995334
done5000334

prune101.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- x y))
7.3b
(* (* x 2.0) (/ y (- x y)))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×times-frac
21×add-cube-cbrt associate-*r*
16×add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod
associate-/r*
associate-/r/
cbrt-undiv div-exp pow-prod-down associate-/l*
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num *-commutative
Counts
2 → 82
Calls
2 calls:
24.0ms
(/ y (- x y))
79.0ms
(* (* x 2.0) (/ y (- x y)))

series157.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(/ y (- x y))
90.0ms
(* (* x 2.0) (/ y (- x y)))

simplify1.8s

Counts
88 → 88
Iterations

Useful iterations: 2 (223.0ms)

IterNodesCost
0120947
1304888
21244788
done5000788

prune295.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (/ y (- x y)))
0.0b
(/ y (- x y))
0.0b
(log1p (expm1 (/ y (- x y))))
7.3b
(* (* x 2.0) (log1p (expm1 (/ y (- x y)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt times-frac
11×add-exp-log add-cbrt-cube
pow1
associate-/r* log1p-expm1-u
expm1-log1p-u distribute-lft-out-- add-log-exp difference-of-squares
associate-*r* pow-prod-down prod-exp cbrt-unprod associate-/l*
associate-/r/
cbrt-undiv log1p-udef expm1-log1p flip3-- frac-2neg log1p-expm1 div-exp associate-*l* clear-num *-commutative flip-- div-inv expm1-udef
Counts
4 → 81
Calls
4 calls:
1.0ms
(expm1 (/ y (- x y)))
18.0ms
(/ y (- x y))
0.0ms
(log1p (expm1 (/ y (- x y))))
18.0ms
(* (* x 2.0) (log1p (expm1 (/ y (- x y)))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(expm1 (/ y (- x y)))
57.0ms
(/ y (- x y))
139.0ms
(log1p (expm1 (/ y (- x y))))
140.0ms
(* (* x 2.0) (log1p (expm1 (/ y (- x y)))))

simplify2.9s

Counts
93 → 93
Iterations

Useful iterations: 2 (173.0ms)

IterNodesCost
0125913
1245805
2732713
32926713
done5000713

prune259.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- x y))
0.2b
(* y (/ 1 (- x y)))
7.3b
(* (* x 2.0) (* y (/ 1 (- x y))))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
51×add-exp-log
44×add-sqr-sqrt
38×*-un-lft-identity
32×times-frac
31×add-cbrt-cube
27×prod-exp
23×add-cube-cbrt
22×associate-*r*
18×pow1
15×cbrt-unprod
pow-prod-down
div-exp
distribute-lft-out-- difference-of-squares
associate-/r*
cbrt-undiv rec-exp 1-exp associate-*r/ associate-*l* associate-/r/
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
flip3-- un-div-inv *-commutative flip-- div-inv
pow-flip frac-2neg clear-num inv-pow
Counts
3 → 123
Calls
3 calls:
22.0ms
(/ 1 (- x y))
38.0ms
(* y (/ 1 (- x y)))
57.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

series199.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ 1 (- x y))
73.0ms
(* y (/ 1 (- x y)))
79.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

simplify4.0s

Counts
132 → 132
Iterations

Useful iterations: 2 (237.0ms)

IterNodesCost
01521441
13511130
21075940
34561940
done5000940

prune212.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes170.0ms

Accuracy

92.7% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 7.3b

bsearch2.0ms

simplify22.0ms

Iterations

Useful iterations: 4 (13.0ms)

IterNodesCost
02399
12989
23281
33871
44170
54470
64570
74670
done4670

end0.0ms

sample681.0ms

Algorithm
intervals
Results
408.0ms8000×body80valid