Details

Time bar (total: 1.1m)

sample1.3s

Algorithm
intervals
Results
1.0s247×body10240exit
169.0ms526×body80nan
56.0ms256×body80valid

simplify178.0ms

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

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (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)

series225.0ms

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

simplify1.1s

Counts
46 → 56
Calls
46 calls:
Slowest
420.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
248.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
50.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base))))
38.0ms
(/ (log (/ 1 re)) (log (/ 1 base)))
23.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) 1)

prune609.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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
12.0ms
(* (log (hypot re im)) (/ 1 (log base)))
9.0ms
(/ 1 (log base))
0.0ms
(hypot re im)

series420.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
221.0ms
(/ 1 (log base))
130.0ms
(* (log (hypot re im)) (/ 1 (log base)))
69.0ms
(hypot re im)

simplify2.4s

Counts
76 → 101
Calls
76 calls:
Slowest
538.0ms
(* (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (/ 1 (log base)) (/ 1 (log base))) (/ 1 (log base))))
302.0ms
(* (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (/ (* (* 1 1) 1) (* (* (log base) (log base)) (log base))))
204.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
124.0ms
(/ (* (* 1 1) 1) (* (* (log base) (log base)) (log base)))
83.0ms
(* (sqrt (log (hypot re im))) (/ 1 (sqrt (log base))))

prune1.1s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize39.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)

rewrite24.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
13.0ms
(/ (log base) (log (hypot re im)))
9.0ms
(/ 1 (/ (log base) (log (hypot re im))))
0.0ms
(hypot re im)

series442.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
182.0ms
(/ (log base) (log (hypot re im)))
173.0ms
(/ 1 (/ (log base) (log (hypot re im))))
86.0ms
(hypot re im)

simplify9.3s

Counts
199 → 166
Calls
199 calls:
Slowest
876.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
494.0ms
(/ (* (* 1 1) 1) (* (* (/ (log base) (log (hypot re im))) (/ (log base) (log (hypot re im)))) (/ (log base) (log (hypot re im)))))
470.0ms
(/ (* (* (log base) (log base)) (log base)) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))
313.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))
271.0ms
(/ (sqrt 1) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))

prune1.8s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
31×add-sqr-sqrt
29×times-frac
25×*-un-lft-identity
24×add-cube-cbrt
20×add-cbrt-cube div-exp
18×pow1
16×associate-*r* prod-exp
10×rec-exp 1-exp
log-pow
cbrt-undiv associate-/l*
associate-/r*
expm1-log1p-u associate-*l* cbrt-unprod insert-posit16 log1p-expm1-u add-log-exp
div-inv pow-flip unswap-sqr
clear-num frac-2neg pow-prod-down associate-*r/ associate-/r/ un-div-inv inv-pow
hypot-udef *-commutative
Counts
4 → 135
Calls
4 calls:
Slowest
14.0ms
(/ 1 (* (log base) (/ 1 (log (hypot re im)))))
11.0ms
(* (log base) (/ 1 (log (hypot re im))))
4.0ms
(/ 1 (log (hypot re im)))
0.0ms
(hypot re im)

series625.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
235.0ms
(/ 1 (* (log base) (/ 1 (log (hypot re im)))))
209.0ms
(* (log base) (/ 1 (log (hypot re im))))
115.0ms
(/ 1 (log (hypot re im)))
65.0ms
(hypot re im)

simplify5.9s

Counts
105 → 147
Calls
105 calls:
Slowest
785.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
570.0ms
(/ (* (* 1 1) 1) (* (* (* (log base) (/ 1 (log (hypot re im)))) (* (log base) (/ 1 (log (hypot re im))))) (* (log base) (/ 1 (log (hypot re im))))))
483.0ms
(* (* (* (log base) (log base)) (log base)) (* (* (/ 1 (log (hypot re im))) (/ 1 (log (hypot re im)))) (/ 1 (log (hypot re im)))))
473.0ms
(/ (* (* 1 1) 1) (* (* (* (log base) (log base)) (log base)) (/ (* (* 1 1) 1) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))))
319.0ms
(/ (* (* 1 1) 1) (* (* (* (log base) (log base)) (log base)) (* (* (/ 1 (log (hypot re im))) (/ 1 (log (hypot re im)))) (/ 1 (log (hypot re im))))))

prune1.7s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes357.0ms

Accuracy

0% (0.4b remaining)

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

bsearch3.0ms

end0.0ms

sample35.6s

Algorithm
intervals
Results
26.5s7931×body10240exit
5.9s15870×body80nan
2.2s8000×body80valid