Details

Time bar (total: 6.9s)

sample34.0ms

Algorithm
intervals
Results
7.0ms187×body80valid
5.0ms25×body1280valid
3.0ms107×body80nan
2.0ms17×body640valid
2.0ms13×body1280nan
1.0ms15×body320valid
1.0ms12×body640nan
1.0ms12×body160valid
0.0msbody320nan
0.0msbody160nan

simplify88.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0912
11912
22912
34112
45812
56312
67112
78612
811412
913712
1014412
done14412

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
3.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
51×*-un-lft-identity
28×times-frac
19×difference-of-squares
18×add-cube-cbrt
17×distribute-lft-out--
12×log-prod
add-exp-log add-log-exp
pow1 flip3-- add-cbrt-cube flip-- associate--r+
associate-/r* associate-/l*
log-div
associate--r-
sub-neg diff-log div-sub associate-/r/ log-pow associate-/l/
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num div-inv
Counts
4 → 108
Calls
4 calls:
22.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
10.0ms
(/ (- x y) (- 1.0 y))
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
21.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series260.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
36.0ms
(/ (- x y) (- 1.0 y))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
81.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify683.0ms

Counts
120 → 120
Iterations

Useful iterations: done (675.0ms)

IterNodesCost
02051894
14881792
212541680
done50001671

prune289.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (- 1.0 y))
0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.2b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
3.1b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
101×add-sqr-sqrt
77×*-un-lft-identity
69×times-frac
37×add-cube-cbrt
28×difference-of-squares
24×log-prod
20×distribute-lft-out--
11×associate-/r*
add-exp-log
add-cbrt-cube associate-/l*
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-exp div-inv
cbrt-undiv frac-2neg div-sub rem-log-exp clear-num associate-/l/
sub-neg log-div diff-log log-pow associate--r-
Counts
4 → 144
Calls
4 calls:
10.0ms
(/ (- x y) (- 1.0 y))
21.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
41.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
19.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series379.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (- x y) (- 1.0 y))
158.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
128.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
52.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify636.0ms

Counts
156 → 156
Iterations

Useful iterations: 2 (223.0ms)

IterNodesCost
02672917
16192789
216352645
done50002645

prune394.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

3.1b
(- 1.0 (/ (- x y) (- 1.0 y)))
5.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))
5.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))
5.2b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
18×log-prod
15×*-un-lft-identity
difference-of-squares
pow1 add-exp-log add-cube-cbrt
log-div add-log-exp
flip3-- times-frac add-cbrt-cube flip-- distribute-lft-out--
rem-log-exp log-pow
sub-neg diff-log div-sub associate--r-
Counts
4 → 67
Calls
4 calls:
20.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
18.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
18.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
22.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series304.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
86.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
84.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))
84.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify663.0ms

Counts
79 → 79
Iterations

Useful iterations: 3 (174.0ms)

IterNodesCost
0911427
11951376
24571229
315571223
done50011223

prune296.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
(+ (* 1.0 (exp 1.0)) (* (* 1.0 (exp 1.0)) (- x y)))
0.0b
(log (+ (* 1.0 (exp 1.0)) (* (* 1.0 (exp 1.0)) (- x y))))
0.3b
(* (* 1.0 (exp 1.0)) (- x y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
log-prod pow-prod-down prod-exp cbrt-unprod
log-div flip3-+ associate-*r/ flip-+
+-commutative flip3-- rem-log-exp associate-*l* sum-log log-pow *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 55
Calls
3 calls:
5.0ms
(+ (* 1.0 (exp 1.0)) (* (* 1.0 (exp 1.0)) (- x y)))
4.0ms
(log (+ (* 1.0 (exp 1.0)) (* (* 1.0 (exp 1.0)) (- x y))))
17.0ms
(* (* 1.0 (exp 1.0)) (- x y))

series373.0ms

Counts
3 → 9
Calls
3 calls:
95.0ms
(+ (* 1.0 (exp 1.0)) (* (* 1.0 (exp 1.0)) (- x y)))
181.0ms
(log (+ (* 1.0 (exp 1.0)) (* (* 1.0 (exp 1.0)) (- x y))))
97.0ms
(* (* 1.0 (exp 1.0)) (- x y))

simplify739.0ms

Counts
64 → 64
Iterations

Useful iterations: done (737.0ms)

IterNodesCost
01221113
13241027
21233812
done5000808

prune129.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes183.0ms

Accuracy

99.4% (0.1b remaining)

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

bsearch127.0ms

Steps
ItersRangePoint
11
3.382151548740658e-10
12169712469967.395
98105251.5900794
8
-542359391.39979
-925426.909356872
-173788009.49411574

simplify3.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
02659
13141
done3141

end0.0ms

sample1.0s

Algorithm
intervals
Results
224.0ms5713×body80valid
164.0ms825×body1280valid
110.0ms788×body640valid
105.0ms3682×body80nan
57.0ms344×body1280nan
51.0ms403×body640nan
46.0ms434×body320valid
18.0ms213×body320nan
16.0ms240×body160valid
6.0ms101×body160nan