Details

Time bar (total: 1.3m)

sample1.2s

Algorithm
intervals
Results
948.0ms295×body10240exit
146.0ms520×body80nan
60.0ms256×body80valid

simplify158.0ms

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

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (log (hypot re im)) (log base))

rewrite8.0ms

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

series157.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
157.0ms
(/ (log (hypot re im)) (log base))

simplify2.0s

Counts
59 → 42
Calls
59 calls:
Slowest
606.0ms
(* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base)))
433.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
234.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
58.0ms
(/ (log (/ 1 re)) (log (/ 1 base)))
37.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) 1)

prune481.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (log (hypot re im)) (log base))

rewrite8.0ms

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

series178.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
178.0ms
(/ (log (hypot re im)) (log base))

simplify1.7s

Counts
59 → 42
Calls
59 calls:
Slowest
436.0ms
(/ (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))) (* (* (log base) (log base)) (log base)))
241.0ms
(* (* (/ (log (hypot re im)) (log base)) (/ (log (hypot re im)) (log base))) (/ (log (hypot re im)) (log base)))
236.0ms
(* -1 (/ (log (/ -1 re)) (- (log -1) (log (/ -1 base)))))
57.0ms
(/ (log (/ 1 re)) (log (/ 1 base)))
36.0ms
(/ (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im)))) (* (cbrt (log base)) (cbrt (log base))))

prune411.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize31.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
140×times-frac
69×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
45×pow1
42×log-pow
24×associate-/r*
15×add-exp-log
add-cbrt-cube
div-exp
associate-/l*
div-inv
cbrt-undiv
expm1-log1p-u rec-exp clear-num frac-2neg 1-exp insert-posit16 log1p-expm1-u add-log-exp
associate-/r/ pow-flip inv-pow
Counts
2 → 146
Calls
2 calls:
Slowest
12.0ms
(/ (log base) (log (hypot re im)))
8.0ms
(/ 1 (/ (log base) (log (hypot re im))))

series392.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
201.0ms
(/ (log base) (log (hypot re im)))
191.0ms
(/ 1 (/ (log base) (log (hypot re im))))

simplify12.1s

Counts
229 → 152
Calls
229 calls:
Slowest
720.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
507.0ms
(* (* (/ 1 (/ (log base) (log (hypot re im)))) (/ 1 (/ (log base) (log (hypot re im))))) (/ 1 (/ (log base) (log (hypot re im)))))
490.0ms
(/ (* (* 1 1) 1) (* (* (/ (log base) (log (hypot re im))) (/ (log base) (log (hypot re im)))) (/ (log base) (log (hypot re im)))))
428.0ms
(/ (* (* (log base) (log base)) (log base)) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))
343.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))

prune1.7s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0b

localize49.0ms

Local error

Found 4 expressions with local error:

0.6b
(exp (/ (log base) (log (hypot re im))))
0.4b
(/ (log base) (log (hypot re im)))
0.4b
(log (exp (/ (log base) (log (hypot re im)))))
0.2b
(/ 1 (log (exp (/ (log base) (log (hypot re im))))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
168×log-pow
120×exp-prod
99×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
68×pow1
29×associate-/r*
14×div-inv
10×add-exp-log
add-cbrt-cube
associate-/l*
exp-to-pow
add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u
log-prod div-exp
cbrt-undiv clear-num frac-2neg
rec-exp 1-exp rem-log-exp pow-flip inv-pow rem-exp-log
Counts
4 → 229
Calls
4 calls:
Slowest
13.0ms
(/ (log base) (log (hypot re im)))
11.0ms
(exp (/ (log base) (log (hypot re im))))
11.0ms
(/ 1 (log (exp (/ (log base) (log (hypot re im))))))
9.0ms
(log (exp (/ (log base) (log (hypot re im)))))

series863.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
244.0ms
(exp (/ (log base) (log (hypot re im))))
230.0ms
(/ (log base) (log (hypot re im)))
199.0ms
(log (exp (/ (log base) (log (hypot re im)))))
190.0ms
(/ 1 (log (exp (/ (log base) (log (hypot re im))))))

simplify16.0s

Counts
333 → 241
Calls
333 calls:
Slowest
777.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
759.0ms
(* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re))))
481.0ms
(/ (* (* (log base) (log base)) (log base)) (* (* (log (hypot re im)) (log (hypot re im))) (log (hypot re im))))
343.0ms
(exp (* -1 (/ (- (log -1) (log (/ -1 base))) (log (/ -1 re)))))
326.0ms
(/ 1 (log (exp (/ (* (cbrt (log base)) (cbrt (log base))) (* (cbrt (log (hypot re im))) (cbrt (log (hypot re im))))))))

prune2.9s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

regimes464.0ms

Accuracy

0% (0.4b remaining)

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

bsearch2.0ms

end0.0ms

sample37.4s

Algorithm
intervals
Results
28.7s8162×body10240exit
4.9s15928×body80nan
2.7s8000×body80valid