Details

Time bar (total: 21.8s)

sample46.0ms

Algorithm
intervals
Results
8.0ms170×body80valid
6.0ms27×body1280valid
6.0ms33×body640valid
3.0ms99×body80nan
2.0ms19×body320valid
2.0ms14×body640nan
1.0ms11×body320nan
1.0msbody1280nan
1.0msbody160valid
0.0msbody160nan

simplify1.1s

Counts
1 → 1
Iterations
IterNodes
done5000
92335
8741
7343
6223
5123
475
341
229
119
09

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.9b

localize19.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))
2.6b
(- 1.0 (/ (- x y) (- 1.0 y)))
4.4b
(log (- 1.0 (/ (- x y) (- 1.0 y))))

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
192×add-sqr-sqrt
184×*-un-lft-identity
105×prod-diff
103×times-frac
91×add-cube-cbrt
49×difference-of-squares
47×distribute-lft-out--
12×log-prod
pow1 flip3-- flip--
associate-/r/
add-exp-log add-log-exp
add-cbrt-cube fma-neg associate--r+
associate-/r* log-pow associate-/l*
expm1-log1p-u log-div log1p-expm1-u div-inv
associate--r-
sub-neg diff-log div-sub associate-/l/
cbrt-undiv clear-num frac-2neg div-exp rem-log-exp
Counts
4 → 227
Calls
4 calls:
31.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
38.0ms
(/ (- x y) (- 1.0 y))
53.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
59.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

series379.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(- 1.0 (log (- 1.0 (/ (- x y) (- 1.0 y)))))
55.0ms
(/ (- x y) (- 1.0 y))
71.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))
134.0ms
(log (- 1.0 (/ (- x y) (- 1.0 y))))

simplify2.4s

Counts
239 → 239
Iterations
IterNodes
done5000
24243
11025
0389

prune878.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
0.0b
(/ (- x y) (- 1.0 y))
0.1b
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
2.6b
(- 1.0 (/ (- x y) (- 1.0 y)))

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
226×add-sqr-sqrt
202×*-un-lft-identity
144×times-frac
102×add-cube-cbrt
93×prod-diff
58×difference-of-squares
50×distribute-lft-out--
24×log-prod
12×associate-/r/
11×associate-/r*
add-exp-log
flip3-- add-cbrt-cube flip-- associate-/l*
div-inv add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
fma-neg div-exp
cbrt-undiv clear-num frac-2neg div-sub rem-log-exp associate-/l/
log-div sub-neg diff-log log-pow associate--r-
Counts
4 → 248
Calls
4 calls:
28.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
19.0ms
(/ (- x y) (- 1.0 y))
55.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
43.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

series442.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(log (/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y)))))
57.0ms
(/ (- x y) (- 1.0 y))
144.0ms
(/ (exp 1.0) (- 1.0 (/ (- x y) (- 1.0 y))))
62.0ms
(- 1.0 (/ (- x y) (- 1.0 y)))

simplify2.8s

Counts
260 → 260
Iterations
IterNodes
done5000
24483
11124
0433

prune1.4s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (+ (* 1.0 (exp 1.0)) (fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y))))
0.0b
(+ (* 1.0 (exp 1.0)) (fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y)))
0.1b
(fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y))
0.3b
(* (- (* 1.0 (exp 1.0))) y)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-exp-log add-cube-cbrt
add-cbrt-cube associate-*l* add-log-exp
expm1-log1p-u log1p-expm1-u
log-prod associate-*r*
log-div flip3-+ flip-+ fma-udef
distribute-lft-neg-out distribute-lft-neg-in +-commutative associate-+r+ neg-mul-1 sum-log fma-def distribute-rgt-neg-in rem-log-exp pow-prod-down prod-exp log-pow *-commutative cbrt-unprod unswap-sqr
Counts
4 → 65
Calls
4 calls:
14.0ms
(log (+ (* 1.0 (exp 1.0)) (fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y))))
15.0ms
(+ (* 1.0 (exp 1.0)) (fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y)))
0.0ms
(fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y))
18.0ms
(* (- (* 1.0 (exp 1.0))) y)

series661.0ms

Counts
4 → 12
Calls
4 calls:
268.0ms
(log (+ (* 1.0 (exp 1.0)) (fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y))))
133.0ms
(+ (* 1.0 (exp 1.0)) (fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y)))
156.0ms
(fma (* 1.0 (exp 1.0)) x (* (- (* 1.0 (exp 1.0))) y))
105.0ms
(* (- (* 1.0 (exp 1.0))) y)

simplify1.7s

Counts
77 → 77
Iterations
IterNodes
done5001
21547
1298
0121

prune505.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0)))
0.0b
(log1p (expm1 (log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0)))))
0.2b
(fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0))
2.3b
(expm1 (log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0))))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt pow1 *-un-lft-identity add-exp-log add-cube-cbrt log1p-expm1-u
expm1-log1p-u add-cbrt-cube add-log-exp
log-prod
log1p-udef expm1-log1p rem-log-exp log1p-expm1 log-pow fma-udef expm1-udef
Counts
4 → 46
Calls
4 calls:
1.0ms
(log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0)))
0.0ms
(log1p (expm1 (log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0)))))
0.0ms
(fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0))
1.0ms
(expm1 (log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0))))

series2.6s

Counts
4 → 12
Calls
4 calls:
244.0ms
(log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0)))
431.0ms
(log1p (expm1 (log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0)))))
111.0ms
(fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0))
1.8s
(expm1 (log (fma (* (exp 1.0) 1.0) (- x y) (* (exp 1.0) 1.0))))

simplify3.0s

Counts
58 → 58
Iterations
IterNodes
done5000
34593
2759
1232
0101

prune392.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes275.0ms

Accuracy

99.4% (0.1b remaining)

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

bsearch2.0ms

simplify5.0ms

Iterations
IterNodes
done19
019

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.0s5677×body80valid
325.0ms817×body1280valid
294.0ms3924×body80nan
233.0ms803×body640valid
112.0ms383×body1280nan
84.0ms461×body320valid
79.0ms363×body640nan
72.0ms201×body320nan
34.0ms242×body160valid
10.0ms99×body160nan