Details

Time bar (total: 1.2m)

sample1.1s

Algorithm
intervals
Results
829.0ms296×body10240exit
155.0ms533×body80nan
76.0ms256×body80valid

simplify125.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
125.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0)) (+ (* (log base) (log base)) (* 0 0)))

prune392.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize25.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ (log (hypot re im)) (log base))
0.0b
(hypot re im)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×times-frac
12×add-sqr-sqrt pow1 *-un-lft-identity add-cube-cbrt
10×log-pow
associate-/r* add-cbrt-cube add-exp-log associate-/l*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
cbrt-undiv hypot-udef clear-num frac-2neg div-exp div-inv
Counts
2 → 50
Calls
2 calls:
Slowest
13.0ms
(/ (log (hypot re im)) (log base))
0.0ms
(hypot re im)

series212.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
148.0ms
(/ (log (hypot re im)) (log base))
64.0ms
(hypot re im)

simplify1.3s

Counts
46 → 56
Calls
46 calls:
Slowest
447.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
238.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
73.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base))))
41.0ms
(/ (log (/ 1 re)) (log (/ 1 base)))
36.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (sqrt (log base)))

prune638.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 3 expressions with local error:

0.4b
(* (log (hypot re im)) (/ 1 (log base)))
0.3b
(/ 1 (log base))
0.0b
(hypot re im)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×times-frac
22×*-un-lft-identity
21×add-cube-cbrt
16×associate-*r* add-exp-log
14×pow1
10×add-cbrt-cube
log-pow
associate-/r* div-exp associate-*l* prod-exp
expm1-log1p-u insert-posit16 log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
hypot-udef clear-num frac-2neg pow-prod-down associate-*r/ un-div-inv *-commutative pow-flip inv-pow
Counts
3 → 92
Calls
3 calls:
Slowest
11.0ms
(* (log (hypot re im)) (/ 1 (log base)))
4.0ms
(/ 1 (log base))
0.0ms
(hypot re im)

series527.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
275.0ms
(/ 1 (log base))
179.0ms
(* (log (hypot re im)) (/ 1 (log base)))
73.0ms
(hypot re im)

simplify2.3s

Counts
76 → 101
Calls
76 calls:
Slowest
518.0ms
(* (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (/ 1 (log base)) (/ 1 (log base))) (/ 1 (log base))))
289.0ms
(* (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (/ (* (* 1 1) 1) (* (* (log base) (log base)) (log base))))
220.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
131.0ms
(/ (* (* 1 1) 1) (* (* (log base) (log base)) (log base)))
59.0ms
(+ (log (log (hypot re im))) (log (/ 1 (log base))))

prune1.0s

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

0.4b
(/ (log base) (log (hypot re im)))
0.3b
(/ 1 (/ (log base) (log (hypot re im))))
0.0b
(hypot re im)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
140×times-frac
70×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
46×pow1
42×log-pow
24×associate-/r*
16×add-exp-log
10×add-cbrt-cube
div-exp
associate-/l*
div-inv
cbrt-undiv
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
rec-exp clear-num frac-2neg 1-exp
hypot-udef associate-/r/ pow-flip inv-pow
Counts
3 → 157
Calls
3 calls:
Slowest
7.0ms
(/ 1 (/ (log base) (log (hypot re im))))
6.0ms
(/ (log base) (log (hypot re im)))
0.0ms
(hypot re im)

series426.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
188.0ms
(/ (log base) (log (hypot re im)))
181.0ms
(/ 1 (/ (log base) (log (hypot re im))))
56.0ms
(hypot re im)

simplify9.3s

Counts
199 → 166
Calls
199 calls:
Slowest
725.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
495.0ms
(/ (* (* (log base) (log base)) (log base)) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))
483.0ms
(/ (* (* 1 1) 1) (* (* (/ (log base) (log (hypot re im))) (/ (log base) (log (hypot re im)))) (/ (log base) (log (hypot re im)))))
403.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))
303.0ms
(/ (sqrt 1) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))

prune1.7s

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (* (/ (log (hypot re im)) (log base)) (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))))
0.5b
(* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))
0.4b
(/ (log (hypot re im)) (log base))
0.4b
(/ (log (hypot re im)) (log base))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
140×times-frac
95×pow1
92×*-un-lft-identity
84×log-pow
80×add-sqr-sqrt
68×add-cube-cbrt
40×swap-sqr
20×add-cbrt-cube associate-*r* associate-*l* add-exp-log
associate-/r* associate-/l*
cbrt-div
frac-times cbrt-undiv div-exp associate-*r/ div-inv
expm1-log1p-u associate-*l/ prod-exp cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
clear-num frac-2neg
cbrt-prod pow2 pow-plus pow1/3 cube-unmult pow-prod-down pow-sqr *-commutative pow-prod-up rem-cbrt-cube
Counts
4 → 209
Calls
4 calls:
Slowest
33.0ms
(cbrt (* (/ (log (hypot re im)) (log base)) (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))))
16.0ms
(* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))
12.0ms
(/ (log (hypot re im)) (log base))
9.0ms
(/ (log (hypot re im)) (log base))

series643.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
175.0ms
(* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))
165.0ms
(/ (log (hypot re im)) (log base))
154.0ms
(cbrt (* (/ (log (hypot re im)) (log base)) (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base)))))
148.0ms
(/ (log (hypot re im)) (log base))

simplify10.0s

Counts
246 → 221
Calls
246 calls:
Slowest
505.0ms
(* (/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base)))) (/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base)))))
424.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
411.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
275.0ms
(/ (pow (log (/ 1 re)) 2) (pow (log (/ 1 base)) 2))
271.0ms
(* (/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base))) (* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base))))

prune2.8s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0b

regimes395.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch2.0ms

end0.0ms

sample36.2s

Algorithm
intervals
Results
28.0s8017×body10240exit
4.8s16149×body80nan
2.7s8000×body80valid