Details

Time bar (total: 1.0m)

sample239.0ms

Algorithm
intervals
Results
186.0ms221×body10240exit
19.0ms198×body80valid
10.0ms21×body640valid
7.0ms21×body320valid
4.0ms18×body160valid

simplify580.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
580.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.3b

localize19.0ms

Local error

Found 4 expressions with local error:

4.7b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))
1.0b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
0.0b
(* wj (exp wj))
0.0b
(* wj (exp wj))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
76×add-sqr-sqrt
67×add-cube-cbrt
63×prod-diff
61×times-frac
13×distribute-rgt-out distribute-rgt1-in
10×add-cbrt-cube
pow1 add-exp-log associate-/r/
associate-*r* associate-*l* add-log-exp
associate-/r*
expm1-log1p-u flip3-+ flip-+ insert-posit16 log1p-expm1-u div-inv
fma-neg associate-/l*
flip3-- div-sub pow-prod-down prod-exp *-commutative cbrt-unprod flip-- difference-of-squares unswap-sqr associate-/l/
cbrt-undiv clear-num sub-neg frac-2neg diff-log div-exp distribute-lft-out-- associate--r-
Counts
4 → 170
Calls
4 calls:
Slowest
47.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))
43.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
19.0ms
(* wj (exp wj))
18.0ms
(* wj (exp wj))

series228.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
84.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))
64.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
47.0ms
(* wj (exp wj))
34.0ms
(* wj (exp wj))

simplify38.3s

Counts
211 → 182
Calls
211 calls:
Slowest
641.0ms
(fma 1 wj (- (* (/ (sqrt (- (* wj (exp wj)) x)) (+ (exp wj) (* wj (exp wj)))) (/ (sqrt (- (* wj (exp wj)) x)) 1))))
598.0ms
(fma (- (/ (- (* wj (exp wj)) x) (+ 1 wj))) (/ 1 (exp wj)) (* (/ (- (* wj (exp wj)) x) (+ 1 wj)) (/ 1 (exp wj))))
585.0ms
(/ (* wj (exp wj)) (+ (exp wj) (* wj (exp wj))))
532.0ms
(fma (- (/ (- (* wj (exp wj)) x) (+ 1 wj))) (/ 1 (exp wj)) (* (/ (- (* wj (exp wj)) x) (+ 1 wj)) (/ 1 (exp wj))))
500.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))

prune1.8s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 1 expressions with local error:

0.2b
(fma (fma x -2 wj) wj x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef insert-posit16 log1p-expm1-u add-log-exp
Counts
1 → 11
Calls
1 calls:
Slowest
1.0ms
(fma (fma x -2 wj) wj x)

series51.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
51.0ms
(fma (fma x -2 wj) wj x)

simplify449.0ms

Counts
3 → 14
Calls
3 calls:
Slowest
155.0ms
(- (+ x (pow wj 2)) (* 2 (* x wj)))
148.0ms
(- (+ x (pow wj 2)) (* 2 (* x wj)))
145.0ms
(- (+ (pow wj 2) x) (* 2 (* x wj)))

prune99.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (fma (fma x -2 wj) wj x))
0.6b
(cbrt (fma (fma x -2 wj) wj x))
0.6b
(cbrt (fma (fma x -2 wj) wj x))
0.5b
(* (cbrt (fma (fma x -2 wj) wj x)) (cbrt (fma (fma x -2 wj) wj x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×*-un-lft-identity add-cube-cbrt
11×pow1
pow1/3
swap-sqr associate-*r* associate-*l* add-exp-log
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
Slowest
8.0ms
(* (cbrt (fma (fma x -2 wj) wj x)) (cbrt (fma (fma x -2 wj) wj x)))
2.0ms
(cbrt (fma (fma x -2 wj) wj x))
1.0ms
(cbrt (fma (fma x -2 wj) wj x))
1.0ms
(cbrt (fma (fma x -2 wj) wj x))

series1.5s

Counts
4 → 12
Calls
4 calls:
Slowest
429.0ms
(* (cbrt (fma (fma x -2 wj) wj x)) (cbrt (fma (fma x -2 wj) wj x)))
389.0ms
(cbrt (fma (fma x -2 wj) wj x))
374.0ms
(cbrt (fma (fma x -2 wj) wj x))
333.0ms
(cbrt (fma (fma x -2 wj) wj x))

simplify4.8s

Counts
65 → 97
Calls
65 calls:
Slowest
381.0ms
(- (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) x)) (* 1/6 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) wj))))
348.0ms
(- (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) x)) (* 1/6 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) wj))))
347.0ms
(- (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ 1 wj))) (* 2 (log (/ 1 x))))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ 1 wj))) (* 2 (log (/ 1 x))))))) x)) (* 1/3 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ 1 wj))) (* 2 (log (/ 1 x))))))) wj))))
343.0ms
(- (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ -1 x))) (* 2 (log (/ -1 wj))))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ -1 x))) (* 2 (log (/ -1 wj))))))) x)) (* 1/3 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ -1 x))) (* 2 (log (/ -1 wj))))))) wj))))
304.0ms
(- (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) x)) (* 1/6 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) wj))))

prune877.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize31.0ms

Local error

Found 4 expressions with local error:

4.9b
(exp (log (* (cbrt (fma (fma x -2 wj) wj x)) (cbrt (fma (fma x -2 wj) wj x)))))
0.6b
(cbrt (fma (fma x -2 wj) wj x))
0.6b
(cbrt (fma (fma x -2 wj) wj x))
0.6b
(cbrt (fma (fma x -2 wj) wj x))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×pow1 exp-prod
cbrt-prod pow1/3 log-pow
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 log-prod pow-plus exp-sum rem-exp-log
Counts
4 → 66
Calls
4 calls:
Slowest
13.0ms
(exp (log (* (cbrt (fma (fma x -2 wj) wj x)) (cbrt (fma (fma x -2 wj) wj x)))))
1.0ms
(cbrt (fma (fma x -2 wj) wj x))
1.0ms
(cbrt (fma (fma x -2 wj) wj x))
1.0ms
(cbrt (fma (fma x -2 wj) wj x))

series1.7s

Counts
4 → 12
Calls
4 calls:
Slowest
466.0ms
(exp (log (* (cbrt (fma (fma x -2 wj) wj x)) (cbrt (fma (fma x -2 wj) wj x)))))
420.0ms
(cbrt (fma (fma x -2 wj) wj x))
397.0ms
(cbrt (fma (fma x -2 wj) wj x))
386.0ms
(cbrt (fma (fma x -2 wj) wj x))

simplify3.1s

Counts
35 → 78
Calls
35 calls:
Slowest
353.0ms
(- (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ 1 wj))) (* 2 (log (/ 1 x))))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ 1 wj))) (* 2 (log (/ 1 x))))))) x)) (* 1/3 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ 1 wj))) (* 2 (log (/ 1 x))))))) wj))))
340.0ms
(- (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ -1 x))) (* 2 (log (/ -1 wj))))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ -1 x))) (* 2 (log (/ -1 wj))))))) x)) (* 1/3 (/ (exp (* 1/3 (- (log 4) (+ (* 2 (log (/ -1 x))) (* 2 (log (/ -1 wj))))))) wj))))
301.0ms
(- (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) x)) (* 1/6 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) wj))))
299.0ms
(- (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) x)) (* 1/6 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) wj))))
292.0ms
(- (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) (+ (* 1/18 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) x)) (* 1/6 (/ (exp (* 1/3 (- (log -2) (+ (log (/ -1 x)) (log (/ -1 wj)))))) wj))))

prune759.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

regimes104.0ms

Accuracy

62.7% (0.7b remaining)

Error of 1.0b against oracle of 0.3b and baseline of 2.2b

bsearch54.0ms

end0.0ms

sample8.1s

Algorithm
intervals
Results
6.6s7650×body10240exit
612.0ms6310×body80valid
246.0ms487×body640valid
212.0ms774×body320valid
95.0ms509×body160valid